theme_row_meta

FILTER wp-admin\includes\class-wp-ms-themes-list-table.php (ligne 774) github
Filters the array of row meta for each theme in the Multisite themes list table.

Paramètres

Entrée :
$theme_meta, $stylesheet, $theme, $status
Sortie :
@param string[] $theme_meta An array of the theme's metadata, including
@param string   $stylesheet Directory name of the theme.
@param WP_Theme $theme      WP_Theme object.
@param string   $status     Status of the theme.

Utilisation

// Modifier la valeur avec le filtre 'theme_row_meta'
add_filter('theme_row_meta', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($theme_meta) {
    // Modifier la valeur
    return $theme_meta;
}

Actualités

Chargement des actualités...