WP_REST_Global_Styles_Controller::_sanitize_global_styles_callback()
Method: Sanitize the global styles ID or stylesheet to decode endpoint.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:124
Method: Sanitize the global styles ID or stylesheet to decode endpoint.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:124
Method: Get the link relations available for the post and current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:460
Method: Checks if a given request has access to read a single global style.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:164
Method: Overwrites the default protected title format.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:486
Method: Checks if a global style can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:197
Method: Retrieves the query params for the global styles collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:497
Method: Returns the given global styles config.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:210
Method: Retrieves the global styles type’ schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:508
Method: Checks if a given request has access to write a single global styles config.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:227
Method: Checks if a global style can be edited.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:252
Filter Hook: Filters the HTTP request args for URL data retrieval.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:252
Method: Gets all the meta tag elements that have a ‘content’ attribute.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:535
Method: Parses the title tag contents from the provided HTML.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:286
Method: Gets the metadata from a target meta element.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:618
Method: Parses the site icon from the provided HTML.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:308
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:27
Method: Parses the meta description from the provided HTML.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:358
Method: Parses the Open Graph (OG) Image from the provided HTML.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:395
Method: Prepares the metadata by: – stripping all HTML tags and tag entities.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:427
Method: Utility function to build cache key for a given URL.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:441
Method: Utility function to retrieve a value from the cache at a given key.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:453
Method: Utility function to cache a given data set at a given cache key.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:466
Filter Hook: Filters the cache expiration.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:479
Method: Retrieves the head element section.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:492
Class: Controller which provides REST endpoint for retrieving information from a remote site’s HTML response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:18
Method: Constructs the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:25
Method: Registers the necessary REST API routes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:35
Method: Retrieves the item’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:67
Method: Retrieves the contents of the title tag from the HTML response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:134
Filter Hook: Filters the URL data for the response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:187