ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
  • Page 3

WP_REST_Posts_Controller::check_assign_terms_permission()

Method: Checks whether current user can assign all terms sent with the current request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1600

Used by 2 functions | Uses 1 function

WP_REST_Posts_Controller::check_is_post_type_allowed()

Method: Checks if a given post type can be viewed or managed.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1632

Used by 4 functions | Uses 0 functions

WP_REST_Posts_Controller::check_read_permission()

Method: Checks if a post can be read.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1654

Used by 3 functions | Uses 3 functions

WP_REST_Posts_Controller

Class: Core class to access posts via the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:17

Used by 2 functions | Uses 1 function

WP_REST_Posts_Controller::delete_item()

Method: Deletes a single post.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:996

Used by 0 functions | Uses 7 functions

WP_REST_Posts_Controller::__construct()

Method: Constructor.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:57

Used by 3 functions | Uses 1 function

rest_{$this->post_type}_trashable

Filter Hook: Filters whether a post is trashable.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1029

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::register_routes()

Method: Registers the routes for posts.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:73

Used by 0 functions | Uses 2 functions

rest_delete_{$this->post_type}

Action Hook: Fires immediately after a single post is deleted or trashed via the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1104

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::get_items_permissions_check()

Method: Checks if a given request has access to read posts.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:154

Used by 1 function | Uses 1 function
« Previous 1 2 3 4 … 6 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy