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

In this article

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

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.