Filters the URI for themes directory.
$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.
// 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;
}
Chargement des actualités...