ClassicPress logo
Skip to content
Filter by type:
Browse: Home / wp-includes/rest-api/endpoints/class-wp-rest-controller.php

WP_REST_Controller::prepare_response_for_collection()

Method: Prepares a response for insertion into a collection.

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

Used by 0 functions | Uses 1 function

WP_REST_Controller::sanitize_slug()

Method: Sanitizes the slug value.

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

Used by 0 functions | Uses 1 function

WP_REST_Controller::get_endpoint_args_for_item_schema()

Method: Retrieves an array of endpoint arguments from the item schema for the controller.

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

Used by 0 functions | Uses 1 function

WP_REST_Controller::get_fields_for_response()

Method: Gets an array of fields to be included on the response.

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

Used by 0 functions | Uses 1 function

WP_REST_Controller::get_object_type()

Method: Retrieves the object type this controller is responsible for managing.

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

Used by 3 functions | Uses 1 function

WP_REST_Controller::get_additional_fields()

Method: Retrieves all of the registered additional fields for a given object-type.

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

Used by 3 functions | Uses 1 function

WP_REST_Controller::add_additional_fields_schema()

Method: Adds the schema from additional fields to a schema array.

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

Used by 1 function | Uses 1 function

WP_REST_Controller::update_additional_fields_for_object()

Method: Updates the values of additional fields added to a data object.

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

Used by 0 functions | Uses 3 functions

WP_REST_Controller::add_additional_fields_to_object()

Method: Adds the values from additional fields to a data object.

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

Used by 0 functions | Uses 2 functions

WP_REST_Controller::get_context_param()

Method: Retrieves the magical context param.

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

Used by 1 function | Uses 2 functions
1 2 3 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy