ClassicPress logo
Skip to content
Filter by type:

Browse:

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

WP_REST_Posts_Controller::get_item_schema()

Method: Retrieves the post’s schema, conforming to JSON Schema.

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

Used by 4 functions | Uses 4 functions

WP_REST_Posts_Controller::get_schema_links()

Method: Retrieves Link Description Objects that should be added to the Schema for the posts collection.

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

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::get_collection_params()

Method: Retrieves the query params for the posts collection.

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

Used by 3 functions | Uses 3 functions

rest_{$this->post_type}_collection_params

Filter Hook: Filters collection parameters for the posts controller.

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

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::handle_terms()

Method: Updates the post’s terms from a REST request.

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

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::sanitize_post_statuses()

Method: Sanitizes and validates the list of post statuses, including whether the user can query private statuses.

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

Used by 0 functions | Uses 1 function

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

Method: Checks if a post can be edited.

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

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