Filters the stylesheet directory path for the active theme.
$stylesheet_dir, $stylesheet, $theme_root
Sortie :
@param string $stylesheet_dir Absolute path to the active theme. @param string $stylesheet Directory name of the active theme. @param string $theme_root Absolute path to themes directory.
// Modifier la valeur avec le filtre 'stylesheet_directory'
add_filter('stylesheet_directory', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($stylesheet_dir) {
// Modifier la valeur
return $stylesheet_dir;
}
Chargement des actualités...