WP_REST_URL_Details_Controller
Methods
1 to 14 of 14
- WP_REST_URL_Details_Controller::build_cache_key_for_url() – Utility function to build cache key for a given URL.
- WP_REST_URL_Details_Controller::get_cache() – Utility function to retrieve a value from the cache at a given key.
- WP_REST_URL_Details_Controller::get_description() – Parses the meta description from the provided HTML.
- WP_REST_URL_Details_Controller::get_document_head() – Retrieves the `<head>` section.
- WP_REST_URL_Details_Controller::get_icon() – Parses the site icon from the provided HTML.
- WP_REST_URL_Details_Controller::get_image() – Parses the Open Graph (OG) Image from the provided HTML.
- WP_REST_URL_Details_Controller::get_item_schema() – Retrieves the item’s schema, conforming to JSON Schema.
- WP_REST_URL_Details_Controller::get_meta_with_content_elements() – Gets all the meta tag elements that have a ‘content’ attribute.
- WP_REST_URL_Details_Controller::get_metadata_from_meta_element() – Gets the metadata from a target meta element.
- WP_REST_URL_Details_Controller::get_remote_url() – Retrieves the document title from a remote URL.
- WP_REST_URL_Details_Controller::get_title() – Parses the `<title>` contents from the provided HTML.
- WP_REST_URL_Details_Controller::parse_url_details() – Retrieves the contents of the `<title>` tag from the HTML response.
- WP_REST_URL_Details_Controller::prepare_metadata_for_output() – Prepares the metadata by: – stripping all HTML tags and tag entities.
- WP_REST_URL_Details_Controller::set_cache() – Utility function to cache a given data set at a given cache key.