apply_filters( "install_themes_table_api_args_{$tab}", array|false $args )
- Since
- 3.7.0
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_dashboardinstall_themes_table_api_args_featuredinstall_themes_table_api_args_newinstall_themes_table_api_args_searchinstall_themes_table_api_args_updatedinstall_themes_table_api_args_upload
Compatibility
- WordPress
- since 3.7.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$argsarray|false- Theme install API arguments.
Where this hook fires · 1
wp-admin/includes/class-wp-theme-install-list-table.php:150WP_Theme_Install_List_Table::prepare_items()
Source code
* - `install_themes_table_api_args_upload` * * @since 3.7.0 * * @param array|false $args Theme install API arguments. */ $args = apply_filters( "install_themes_table_api_args_{$tab}", $args ); if ( ! $args ) { return; } $api = themes_api( 'query_themes', $args );Changelog
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.