themes_api_args

FILTER wp-admin\includes\theme.php (ligne 525) github
Filters arguments used to query for installer pages from the WordPress.org Themes API. Important: An object MUST be returned to this filter.

Paramètres

Entrée :
$args, $action
Sortie :
@param object $args   Arguments used to query for installer pages from the WordPress.org Themes API.
@param string $action Requested action. Likely values are 'theme_information',

Utilisation

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

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

Actualités

Chargement des actualités...