theme_auto_update_setting_html

FILTER wp-admin\includes\class-wp-ms-themes-list-table.php (ligne 872) github
Filters the HTML of the auto-updates setting for each theme in the Themes list table.

Paramètres

Entrée :
$html, $stylesheet, $theme
Sortie :
@param string   $html       The HTML for theme's auto-update setting, including
@param string   $stylesheet Directory name of the theme.
@param WP_Theme $theme      WP_Theme object.

Utilisation

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

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

Actualités

Chargement des actualités...