ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php
  • Page 2

WP_REST_Plugins_Controller::handle_plugin_status()

Method: Handle updating a plugin’s status.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:734

Used by 2 functions | Uses 3 functions

WP_REST_Plugins_Controller::get_item_permissions_check()

Method: Checks if a given request has access to get a specific plugin.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:162

Used by 0 functions | Uses 2 functions

WP_REST_Plugins_Controller::validate_plugin_param()

Method: Checks that the “plugin” parameter is a valid path.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:774

Used by 0 functions | Uses 1 function

WP_REST_Plugins_Controller::get_item()

Method: Retrieves one plugin from the site.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:188

Used by 0 functions | Uses 2 functions

WP_REST_Plugins_Controller::sanitize_plugin_param()

Method: Sanitizes the “plugin” parameter to be a proper plugin file with “.php” appended.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:792

Used by 0 functions | Uses 1 function

WP_REST_Plugins_Controller::check_read_permission()

Method: Checks if the given plugin can be viewed by the current user.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:211

Used by 4 functions | Uses 4 functions

WP_REST_Plugins_Controller::does_plugin_match_request()

Method: Checks if the plugin matches the requested parameters.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:805

Used by 1 function | Uses 2 functions

WP_REST_Plugins_Controller::create_item_permissions_check()

Method: Checks if a given request has access to upload plugins.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:241

Used by 0 functions | Uses 1 function

WP_REST_Plugins_Controller::is_plugin_installed()

Method: Checks if the plugin is installed.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:840

Used by 1 function | Uses 0 functions

WP_REST_Plugins_Controller::create_item()

Method: Uploads a plugin and optionally activates it.

Source: wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php:273

Used by 0 functions | Uses 9 functions
« Previous 1 2 3 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy