install_themes_table_api_args_{$tab}

FILTER wp-admin\includes\class-wp-theme-install-list-table.php (ligne 150) github
Filters API request arguments for each Install Themes screen tab. The dynamic portion of the hook name, `$tab`, refers to the theme install tab. Possible hook names include:  - `install_themes_table_api_args_dashboard`  - `install_themes_table_api_args_featured`  - `install_themes_table_api_args_new`  - `install_themes_table_api_args_search`  - `install_themes_table_api_args_updated`  - `install_themes_table_api_args_upload`

Paramètres

Entrée :
$args
Sortie :
@param array|false $args Theme install API arguments.

Utilisation

// Modifier la valeur avec le filtre 'install_themes_table_api_args_{$tab}'
add_filter('install_themes_table_api_args_{$tab}', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...