WP_REST_URL_Details_Controller::get_description()
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 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
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
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
Method: Checks whether a given request has permission to read remote URLs.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:197
Method: Retrieves the document title from a remote URL.
Source: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:224