install_themes_table_api_args_updated
Filters API request arguments for each Install Themes screen tab.
This is one of the variants of the dynamic hook install_themes_table_api_args_(tab)
Usage
add_filter( 'install_themes_table_api_args_updated', 'wp_kama_install_themes_table_api_args_updated_filter' );
/**
* Function for `install_themes_table_api_args_updated` filter-hook.
*
* @param array|false $args Theme install API arguments.
*
* @return array|false
*/
function wp_kama_install_themes_table_api_args_updated_filter( $args ){
// filter...
return $args;
}
- $args(array|false)
- Theme install API arguments.
Changelog
| Since 3.7.0 | Introduced. |
Where the hook is called
install_themes_table_api_args_updated
wp-admin/includes/class-wp-theme-install-list-table.php 150
$args = apply_filters( "install_themes_table_api_args_{$tab}", $args );