comments_list_table_query_args

FILTER wp-admin\includes\class-wp-comments-list-table.php (ligne 167) github
Filters the arguments for the comment query in the comments list table.

Paramètres

Entrée :
$args
Sortie :
@param array $args An array of get_comments() arguments.

Utilisation

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

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

Actualités

Chargement des actualités...