theme_install_actions

FILTER wp-admin\includes\class-wp-theme-install-list-table.php (ligne 361) github
Filters the install action links for a theme in the Install Themes list table.

Paramètres

Entrée :
$actions, $theme
Sortie :
@param string[] $actions An array of theme action links. Defaults are
@param stdClass $theme   An object that contains theme data returned by the

Utilisation

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

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

Actualités

Chargement des actualités...