Fires after each specific row in the Multisite themes list table. The dynamic portion of the hook name, `$stylesheet`, refers to the directory name of the theme, most often synonymous with the template name of the theme.
$stylesheet, $theme, $status
Sortie :
@param string $stylesheet Directory name of the theme. @param WP_Theme $theme Current WP_Theme object. @param string $status Status of the theme.
// Ajouter une fonction au hook action 'after_theme_row_{$stylesheet}'
add_action('after_theme_row_{$stylesheet}', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($stylesheet, $theme, $status) {
// Votre code ici
error_log('Hook after_theme_row_{$stylesheet} déclenché');
}
Chargement des actualités...