File: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php
-
Handles the upload of a font file using wp_handle_upload().
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:857 -
Handles file upload error.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:892 -
Returns relative path to an uploaded font file.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:915 -
Gets the font face’s settings from the post.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:935 -
Get the params used when creating a new font face.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:739 -
Get the parent font family, if the ID is valid.
Used by 4 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:763 -
Prepares links for the request.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:793 -
Prepares a single font face post for creation.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:816 -
Sanitizes a single src value for a font face.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:844 -
Retrieves the post’s schema, conforming to JSON Schema.
Used by 4 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:493 -
Retrieves the item’s schema for display / public consumption purposes.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:684 -
Retrieves the query params for the font face collection.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:704 -
Filters collection parameters for the font face controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:729 -
Filters the font face data for a REST API response.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:483 -
Creates a font face for the parent font family.
Used by 0 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:317 -
Deletes a single font face.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:400 -
Prepares a single font face output for response.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:444 -
Checks if a given request has access to a font face.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:137 -
Validates settings when creating a font face.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:163 -
Sanitizes the font face settings when creating a font face.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:246 -
Retrieves a collection of font faces within the parent font family.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:268 -
Retrieves a single font face within the parent font family.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:285 -
Class to access font faces through the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:13 -
Registers the routes for posts.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:38 -
Checks if a given request has access to font faces.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php:115