install_themes_table_api_args_(tab) filter-hookWP 3.7.0

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:

Usage

add_filter( 'install_themes_table_api_args_(tab)', 'wp_kama_install_themes_table_api_args_tab_filter' );

/**
 * Function for `install_themes_table_api_args_(tab)` filter-hook.
 * 
 * @param array|false $args Theme install API arguments.
 *
 * @return array|false
 */
function wp_kama_install_themes_table_api_args_tab_filter( $args ){

	// filter...
	return $args;
}
$args(array|false)
Theme install API arguments.

Changelog

Since 3.7.0 Introduced.

Where the hook is called

WP_Theme_Install_List_Table::prepare_items()
install_themes_table_api_args_(tab)
wp-admin/includes/class-wp-theme-install-list-table.php 149
$args = apply_filters( "install_themes_table_api_args_{$tab}", $args );

Where the hook is used in WordPress

Usage not found.