Filters the action links for each attachment in the Media list table.
$actions, $post, $this->detached
Sortie :
@param string[] $actions An array of action links for each attachment. @param WP_Post $post WP_Post object for the current attachment. @param bool $detached Whether the list table contains media not attached
// Modifier la valeur avec le filtre 'media_row_actions'
add_filter('media_row_actions', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($actions) {
// Modifier la valeur
return $actions;
}
Chargement des actualités...