comment_row_actions

FILTER woocommerce\src\Internal\Admin\ProductReviews\ReviewsListTable.php (ligne 581) github
Filters the action links displayed for each review in the Reviews list table.

Paramètres

Entrée :
array_filter( $actions
Sortie :
@param string[]   $actions An array of comment actions. Default actions include:
@param WP_Comment $item The comment object.

Utilisation

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

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

Actualités

Chargement des actualités...