Filters the list of action links available following a single theme installation.
$install_actions, $this->api, $stylesheet, $theme_info
Sortie :
@param string[] $install_actions Array of theme action links. @param object $api Object containing WordPress.org API theme data. @param string $stylesheet Theme directory name. @param WP_Theme $theme_info Theme object.
// Modifier la valeur avec le filtre 'install_theme_complete_actions'
add_filter('install_theme_complete_actions', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($install_actions) {
// Modifier la valeur
return $install_actions;
}
Chargement des actualités...