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

Filters the Plugin Installation API response results.


Parameters

$res

(object|WP_Error) Response object or WP_Error.

$action

(string) The type of information being requested from the Plugin Installation API.

$args

(object) Plugin API arguments.


Source

File: wp-admin/includes/plugin-install.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.7.0 Introduced.