install_themes_table_api_args_{$tab} WordPress Filter Hook
The install_themes_table_api_args_{$tab} hook is fired when the WordPress Theme Install API is called. It allows for themes to be installed from a particular tab.
apply_filters( "install_themes_table_api_args_{$tab}", array|false $args ) #
Filters API request arguments for each Install Themes screen tab.
Description
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
Parameters
- $args
(array|false)Theme install API arguments.
Source
File: wp-admin/includes/class-wp-theme-install-list-table.php
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |