install_plugins_table_api_args_search filter-hookWP 3.7.0

Filters API request arguments for each Add Plugins screen tab.

This is one of the variants of the dynamic hook install_plugins_table_api_args_(tab)

Usage

add_filter( 'install_plugins_table_api_args_search', 'wp_kama_install_plugins_table_api_args_search_filter' );

/**
 * Function for `install_plugins_table_api_args_search` filter-hook.
 * 
 * @param array|false $args Plugin install API arguments.
 *
 * @return array|false
 */
function wp_kama_install_plugins_table_api_args_search_filter( $args ){

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

Changelog

Since 3.7.0 Introduced.

Where the hook is called

WP_Plugin_Install_List_Table::prepare_items()
install_plugins_table_api_args_search
wp-admin/includes/class-wp-plugin-install-list-table.php 235
$args = apply_filters( "install_plugins_table_api_args_{$tab}", $args );

Where the hook is used in WordPress

Usage not found.