W3cubDocs

/WordPress

apply_filters( ‘plugins_api_result’, object|WP_Error $res, string $action, object $args )

Filters the Plugin Installation API response results.

Parameters

$resobject|WP_Error
Response object or WP_Error.
$actionstring
The type of information being requested from the Plugin Installation API.
$argsobject
Plugin API arguments.

Source

return apply_filters( 'plugins_api_result', $res, $action, $args );

Changelog

Version Description
2.7.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/plugins_api_result