ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • WP-4.7.0
  • Page 27

WP_REST_Posts_Controller::handle_template()

Method: Sets the template for a post.

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

Used by 2 functions | Uses 1 function

WP_REST_Posts_Controller::create_item()

Method: Creates a single post.

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

Used by 0 functions | Uses 10 functions

rest_insert_{$this->post_type}

Action Hook: Fires after a single post is created or updated via the REST API.

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

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::update_item_permissions_check()

Method: Checks if a given request has access to update a post.

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

Used by 0 functions | Uses 4 functions

WP_REST_Posts_Controller::update_item()

Method: Updates a single post.

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

Used by 0 functions | Uses 11 functions

WP_REST_Posts_Controller::delete_item_permissions_check()

Method: Checks if a given request has access to delete a post.

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

Used by 0 functions | Uses 2 functions

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

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

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::__construct()

Method: Constructor.

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

Used by 3 functions | Uses 1 function
« Previous 1 … 26 27 28 … 53 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy