myblogs_options

FILTER wp-admin\my-sites.php (ligne 124) github
Filters the settings HTML markup in the Global Settings section on the My Sites screen. By default, the Global Settings section is hidden. Passing a non-empty string to this filter will enable the section, and allow new settings to be added, either globally or for specific sites.

Paramètres

Entrée :
'', 'global'
Sortie :
@param string $settings_html The settings HTML markup. Default empty.
@param string $context       Context of the setting (global or site-specific). Default 'global'.

Utilisation

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

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

Actualités

Chargement des actualités...