quick_edit_show_taxonomy

FILTER wp-admin\includes\class-wp-posts-list-table.php (ligne 1645) github
Filters whether the current taxonomy should be shown in the Quick Edit panel.

Paramètres

Entrée :
$show_in_quick_edit, $taxonomy_name, $screen->post_type
Sortie :
@param bool   $show_in_quick_edit Whether to show the current taxonomy in Quick Edit.
@param string $taxonomy_name      Taxonomy name.
@param string $post_type          Post type of current Quick Edit post.

Utilisation

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

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

Actualités

Chargement des actualités...