archive.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
B
G
M
R
W
Home
ยป
W
API Letter:
W
wp_enqueue_block_support_styles() – This function takes care of adding inline styles in the proper place, depending on the theme in use.
wp_global_styles_render_svg_filters() – Render the SVG filters supplied by theme.json.
wp_get_global_styles_svg_filters() – Returns a string containing the SVGs to be referenced as filters (duotone).
WP_Theme_JSON::get_svg_filters() – Converts all filter (duotone) presets into SVGs.
wp_get_duotone_filter_property() – Returns the CSS filter property url to reference the rendered SVG.
wp_get_duotone_filter_svg() – Returns the duotone filter SVG string for the preset.
wp_get_duotone_filter_id() – Returns the prefixed id for the duotone filter for use as a CSS id.
rss_widget_feed_link – filter
wp_get_sidebar() – Retrieves the registered sidebar with the given ID.
wp_is_application_passwords_supported() – Checks if Application Passwords is supported.
wp_list_users() – List all the users of the site, with several options available.
wp_is_block_theme() – Returns whether the current theme is a block-based theme or not.
wp_set_unique_slug_on_create_template_part() – Sets a custom slug when creating auto-draft template parts.
WP_Sitemaps_Users
WP_Sitemaps_Taxonomies
WP_Sitemaps_Posts
WP_Sitemaps
WP_Sitemaps_Renderer
WP_Sitemaps_Registry
WP_Sitemaps_Provider
WP_Sitemaps_Index
wp_enqueue_global_styles_css_custom_properties() – Function that enqueues the CSS Custom Properties coming from theme.json.
_wp_normalize_relative_css_links() – Make URLs relative to the WordPress installation.
wp_get_post_revisions_url() – Returns the url for viewing and potentially restoring revisions of a given post.
WP_REST_Widgets_Controller::retrieve_widgets() – Looks for "lost" widgets once per request.
WP_REST_Widgets_Controller::check_read_sidebar_permission() – Checks if a sidebar can be read publicly.
WP_REST_Widget_Types_Controller::render() – Renders a single Legacy Widget and wraps it in a JSON-encodable array.
WP_REST_Widget_Types_Controller::render_legacy_widget_preview_iframe() – Renders a page containing a preview of the requested Legacy Widget block.
WP_REST_URL_Details_Controller::get_metadata_from_meta_element() – Gets the metadata from a target meta element.
WP_REST_URL_Details_Controller::get_document_head() – Retrieves the `<head>` section.
WP_REST_URL_Details_Controller::get_meta_with_content_elements() – Gets all the `<meta>` elements that have a `content` attribute.
WP_REST_URL_Details_Controller::set_cache() – Utility function to cache a given data set at a given cache key.
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::prepare_metadata_for_output() – Prepares the metadata by: – stripping all HTML tags and tag entities.
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_image() – Parses the Open Graph (OG) Image from the provided HTML.
WP_REST_URL_Details_Controller::get_icon() – Parses the site icon from the provided HTML.
WP_REST_URL_Details_Controller::get_description() – Parses the meta description from the provided HTML.
WP_REST_URL_Details_Controller::get_title() – Parses the `<title>` contents from the provided HTML.
WP_REST_URL_Details_Controller::get_remote_url() – Retrieves the document title from a remote URL.
WP_REST_URL_Details_Controller::permissions_check() – Checks whether a given request has permission to read remote urls.
WP_REST_URL_Details_Controller::parse_url_details() – Retrieves the contents of the `<title>` tag from the HTML response.
WP_REST_URL_Details_Controller::get_item_schema() – Retrieves the item’s schema, conforming to JSON Schema.
WP_REST_URL_Details_Controller::register_routes() – Registers the necessary REST API routes.
WP_REST_URL_Details_Controller
WP_REST_URL_Details_Controller
WP_REST_URL_Details_Controller::__construct() – Constructs the controller.
wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php
WP_REST_Themes_Controller::_sanitize_stylesheet_callback() – Sanitize the stylesheet to decode endpoint.
WP_REST_Templates_Controller::_sanitize_template_id() – Requesting this endpoint for a template like ‘twentytwentytwo//home’ requires using a path like /wp/v2/templates/twentytwentytwo//home. There are special cases when WordPress routing corrects the name to contain only a single slash like ‘twentytwentytwo/home’.
WP_REST_Taxonomies_Controller
WP_REST_Sidebars_Controller::retrieve_widgets() – Looks for "lost" widgets once per request.
WP_REST_Sidebars_Controller::check_read_permission() – Checks if a sidebar can be read publicly.
WP_REST_Search_Controller
WP_REST_Post_Types_Controller
WP_REST_Menus_Controller::get_item_schema() – Retrieves the term’s schema, conforming to JSON Schema.
WP_REST_Menus_Controller::get_menu_locations() – Returns the names of the locations assigned to the menu.
WP_REST_Menus_Controller::handle_locations() – Updates the menu’s locations from a REST request.
WP_REST_Menus_Controller::handle_auto_add() – Updates the menu’s auto add from a REST request.
WP_REST_Menus_Controller::get_menu_auto_add() – Returns the value of a menu’s auto_add setting.
WP_REST_Menus_Controller::delete_item() – Deletes a single term from a taxonomy.
WP_REST_Menus_Controller::update_item() – Updates a single term from a taxonomy.
WP_REST_Menus_Controller::prepare_item_for_database() – Prepares a single term for create or update.
WP_REST_Menus_Controller::create_item() – Creates a single term in a taxonomy.
WP_REST_Menus_Controller::prepare_links() – Prepares links for the request.
WP_REST_Menus_Controller::check_has_read_only_access() – Checks whether the current user has read permission for the endpoint.
WP_REST_Menus_Controller::prepare_item_for_response() – Prepares a single term output for response.
WP_REST_Menus_Controller::get_term() – Gets the term, if the ID is valid.
WP_REST_Menus_Controller::get_item_permissions_check() – Checks if a request has access to read or edit the specified menu.
WP_REST_Menus_Controller
WP_REST_Menus_Controller
WP_REST_Menus_Controller::get_items_permissions_check() – Checks if a request has access to read menus.
wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php
WP_REST_Menu_Locations_Controller::prepare_links() – Prepares links for the request.
WP_REST_Menu_Locations_Controller::get_collection_params() – Retrieves the query params for collections.
WP_REST_Menu_Locations_Controller::get_item_schema() – Retrieves the menu location’s schema, conforming to JSON Schema.
WP_REST_Menu_Locations_Controller::prepare_item_for_response() – Prepares a menu location object for serialization.
WP_REST_Menu_Locations_Controller::get_item_permissions_check() – Checks if a given request has access to read a menu location.
WP_REST_Menu_Locations_Controller::get_item() – Retrieves a specific menu location.
WP_REST_Menu_Locations_Controller::get_items() – Retrieves all menu locations, depending on user context.
WP_REST_Menu_Locations_Controller::get_items_permissions_check() – Checks whether a given request has permission to read menu locations.
WP_REST_Menu_Locations_Controller
WP_REST_Menu_Locations_Controller::__construct() – Menu Locations Constructor.
WP_REST_Menu_Locations_Controller::register_routes() – Registers the routes for the objects of the controller.
WP_REST_Menu_Locations_Controller
WP_REST_Menu_Items_Controller::get_menu_id() – Gets the id of the menu that the given menu item belongs to.
wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php
WP_REST_Menu_Items_Controller::prepare_items_query() – Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
WP_REST_Menu_Items_Controller::get_collection_params() – Retrieves the query params for the posts collection.
WP_REST_Menu_Items_Controller::get_item_schema() – Retrieves the term’s schema, conforming to JSON Schema.
WP_REST_Menu_Items_Controller::get_schema_links() – Retrieve Link Description Objects that should be added to the Schema for the posts collection.
WP_REST_Menu_Items_Controller::prepare_links() – Prepares links for the request.
WP_REST_Menu_Items_Controller::prepare_item_for_response() – Prepares a single post output for response.
WP_REST_Menu_Items_Controller::prepare_item_for_database() – Prepares a single post for create or update.
WP_REST_Menu_Items_Controller::delete_item() – Deletes a single menu item.
WP_REST_Menu_Items_Controller::update_item() – Updates a single nav menu item.
WP_REST_Menu_Items_Controller::create_item() – Creates a single post.
WP_REST_Menu_Items_Controller::get_item_permissions_check() – Checks if a given request has access to read a menu item if they have access to edit them.
WP_REST_Menu_Items_Controller::check_has_read_only_access() – Checks whether the current user has read permission for the endpoint.
WP_REST_Menu_Items_Controller::get_items_permissions_check() – Checks if a given request has access to read menu items.
WP_REST_Menu_Items_Controller
WP_REST_Menu_Items_Controller
1
2
3
…
63
Next Page
Search
Search