ClassicPress logo
Skip to content
Filter by type:

Browse:

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

WP_REST_Posts_Controller::get_item_permissions_check()

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

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

Used by 1 function | Uses 4 functions

rest_pre_insert_{$this->post_type}

Filter Hook: Filters a post before it is inserted via the REST API.

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

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::can_access_password_content()

Method: Checks if the user can access password-protected content.

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

Used by 1 function | Uses 1 function

WP_REST_Posts_Controller::handle_status_param()

Method: Determines validity and normalizes the given status parameter.

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

Used by 1 function | Uses 1 function

WP_REST_Posts_Controller::get_item()

Method: Retrieves a single post.

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

Used by 0 functions | Uses 3 functions

WP_REST_Posts_Controller::handle_featured_media()

Method: Determines the featured media based on a request param.

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

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::create_item_permissions_check()

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

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

Used by 0 functions | Uses 2 functions

WP_REST_Posts_Controller::check_template()

Method: Checks whether the template is valid for the given post.

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

Used by 0 functions | Uses 2 functions

WP_REST_Posts_Controller::create_item()

Method: Creates a single post.

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

Used by 0 functions | Uses 10 functions

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:1548

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