Filters the list of action links available following a single theme installation failure when overwriting is allowed.
$install_actions, $this->api, $new_theme_data
Sortie :
@param string[] $install_actions Array of theme action links. @param object $api Object containing WordPress.org API theme data. @param array $new_theme_data Array with uploaded theme data.
// Modifier la valeur avec le filtre 'install_theme_overwrite_actions'
add_filter('install_theme_overwrite_actions', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($install_actions) {
// Modifier la valeur
return $install_actions;
}
Chargement des actualités...