WP_REST_Plugins_Controller::does_plugin_match_request( WP_REST_Request $request, array $item )
Checks if the plugin matches the requested parameters.
Parameters
- $request
-
(Required) The request to require the plugin matches against.
- $item
-
(Required) The plugin item.
Return
(bool)
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |