page_row_actions

FILTER wp-admin\includes\class-wp-posts-list-table.php (ligne 1591) github
Filters the array of row action links on the Pages list table. The filter is evaluated only for hierarchical post types.

Paramètres

Entrée :
$actions, $post
Sortie :
@param string[] $actions An array of row action links. Defaults are
@param WP_Post  $post    The post object.

Utilisation

// Modifier la valeur avec le filtre 'page_row_actions'
add_filter('page_row_actions', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($actions) {
    // Modifier la valeur
    return $actions;
}

Actualités

Chargement des actualités...