Fires when a theme is successfully installed.
$theme
Sortie :
@param string $theme The theme name.
// Ajouter une fonction au hook action 'woocommerce_theme_installed'
add_action('woocommerce_theme_installed', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($theme) {
// Votre code ici
error_log('Hook woocommerce_theme_installed déclenché');
}
Chargement des actualités...