theme_root_uri

FILTER wp-includes\theme.php (ligne 682) github
Filters the URI for themes directory.

Paramètres

Entrée :
$theme_root_uri, get_option( 'siteurl'
Sortie :
@param string $theme_root_uri         The URI for themes directory.
@param string $siteurl                WordPress web address which is set in General Options.
@param string $stylesheet_or_template The stylesheet or template name of the theme.

Utilisation

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

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

Actualités

Chargement des actualités...