Filter hook 'plugins_api_result'

in WP Core File wp-admin/includes/plugin-install.php at line 235

Description

Filters the Plugin Installation API response results.

Occurrences

Filename Line Number
wp-admin/includes/plugin-install.php 235

Parameters

Type Name Description
object|WP_Error $res Response object or WP_Error.
string $action The type of information being requested from the Plugin Installation API.
object $args Plugin API arguments.

PHP Doc

/**
	 * Filters the Plugin Installation API response results.
	 *
	 * @since 2.7.0
	 *
	 * @param object|WP_Error $res    Response object or WP_Error.
	 * @param string          $action The type of information being requested from the Plugin Installation API.
	 * @param object          $args   Plugin API arguments.
	 */