Using WordPress ‘rest_filter_response_fields()’ PHP function Written by Adrian Gordon WordPress Filters the REST API response to include only a white-listed set of response object fields.
Using WordPress ‘rest_filter_response_by_context()’ PHP function Written by Adrian Gordon WordPress Filters the response to remove any fields not available in the given context.
Using WordPress ‘rest_ensure_response()’ PHP function Written by Adrian Gordon WordPress Ensures a REST response is a response object (for consistency).
Using WordPress ‘rest_ensure_request()’ PHP function Written by Adrian Gordon WordPress Ensures request arguments are a request object (for consistency).
Using WordPress ‘rest_default_additional_properties_to_false()’ PHP function Written by Adrian Gordon WordPress Sets the “additionalProperties” to false by default for all object definitions in the schema.
Using WordPress ‘menu_page_url()’ PHP function Written by Adrian Gordon WordPress Gets the URL to access a particular menu page based on the slug it was registered with.
Using WordPress ‘rest_authorization_required_code()’ PHP function Written by Adrian Gordon WordPress Returns a contextual HTTP error code for authorization failure.
Using WordPress ‘rest_are_values_equal()’ PHP function Written by Adrian Gordon WordPress Checks the equality of two values, following JSON Schema semantics.
Using WordPress ‘rest_application_password_collect_status()’ PHP function Written by Adrian Gordon WordPress Collects the status of authenticating with an application password.