apply_filters( 'plugins_api_args', object $args, string $action )
- Since
- 2.7.0
Filters the WordPress.org Plugin Installation API arguments.
Description
Important: An object MUST be returned to this filter.
Parameters
$argsobject- Plugin API arguments.
$actionstring- The type of information being requested from the Plugin Installation API.
Fired at · 1
wp-admin/includes/plugin-install.php:129plugins_api()
Source
* * @since 2.7.0 * * @param object $args Plugin API arguments. * @param string $action The type of information being requested from the Plugin Installation API. */ $args = apply_filters( 'plugins_api_args', $args, $action ); /** * Filters the response for the current WordPress.org Plugin Installation API request. * * Returning a non-false value will effectively short-circuit the WordPress.org API request. *History
Introduced in 2.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 6.7.7 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.