WordPress at Your Fingertips
filter is not described

plugins_api filter-hook . WP 2.7.0

Filters the response for the current WordPress.org Plugin Installation API request.

Passing a non-false value will effectively short-circuit the WordPress.org API request.

If $action is 'query_plugins' or 'plugin_information', an object MUST be passed. If $action is 'hot_tags' or 'hot_categories', an array should be passed.


add_filter( 'plugins_api', 'filter_function_name_4925', 10, 3 );
function filter_function_name_4925( $result, $action, $args ){
	// filter...

	return $result;
The result object or array.
Default: false
The type of information being requested from the Plugin Installation API.
Plugin API arguments.


Since 2.7.0 Introduced.

Where the hook is called

wp-admin/includes/plugin-install.php 150
$res = apply_filters( 'plugins_api', false, $action, $args );

Where in WP core the hook is used WordPress

Usage not found.