REST API (tag)

get_rest_url()

Retrieves the URL to a REST endpoint on a site.

register_rest_field()

Registers a new field on an existing WordPress object type.

register_rest_route()

Registers a REST API route.

rest_ensure_response()

Ensures a REST response is a response object (for consistency).

rest_is_boolean()

Determines if a given value is a boolean or boolean-like. Doesn't look at the type of a given value, and like in PHP, 1 = true and 0 = false.

rest_output_link_wp_head()

Displays a link to the root REST API route in the <head> section on all site pages.

rest_sanitize_array()

Converts an array-like value to an array.

rest_stabilize_value()

Stabilizes a value following JSON Schema semantics.

rest_url()

Retrieves the URL to a REST endpoint.

WP_Application_Passwords::create_new_application_password()

Creates a new application password.

wp_is_application_passwords_available()

Checks if Application Passwords is globally available.