screen_options_show_screen

FILTER wp-admin\includes\class-wp-screen.php (ligne 1039) github
Filters whether to show the Screen Options tab.

Paramètres

Entrée :
$show_screen, $this
Sortie :
@param bool      $show_screen Whether to show Screen Options tab.
@param WP_Screen $screen      Current WP_Screen instance.

Utilisation

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

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

Actualités

Chargement des actualités...