theme_auto_update_setting_template

FILTER wp-admin\themes.php (ligne 826) github
Filters the JavaScript template used to display the auto-update setting for a theme (in the overlay). See {@see wp_prepare_themes_for_js()} for the properties of the `data` object.

Paramètres

Entrée :
$template
Sortie :
@param string $template The template for displaying the auto-update setting link.

Utilisation

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

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

Actualités

Chargement des actualités...