wphooks.info - plugins_api_result

plugins_api_result

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/plugin-install.php:
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
	/**
	 * 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.
	 */
	return apply_filters( 'plugins_api_result', $res, $action, $args );
}

/**
 * Retrieve popular WordPress plugin tags.
 *
 * @since 2.7.0
 *
 * @param array $args
 * @return array