after_theme_row

ACTION wp-admin\includes\class-wp-ms-themes-list-table.php (ligne 1032) github
Fires after each row in the Multisite themes list table.

Paramètres

Entrée :
$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.

Utilisation

// Ajouter une fonction au hook action 'after_theme_row'
add_action('after_theme_row', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($stylesheet, $theme, $status) {
    // Votre code ici
    error_log('Hook after_theme_row déclenché');
}

Actualités

Chargement des actualités...