archive.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
B
G
M
R
W
Home
ยป
C
API Letter:
C
insert_custom_user_meta – filter
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_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.
rest_url_details_cache_expiration – filter
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::get_item_schema() – Retrieves the item’s schema, conforming to JSON Schema.
WP_REST_URL_Details_Controller::parse_url_details() – Retrieves the contents of the `<title>` tag from the HTML response.
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_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_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_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
WP_REST_Menu_Items_Controller::get_nav_menu_item() – Get the nav menu item, if the ID is valid.
WP_REST_Global_Styles_Controller::get_theme_item_permissions_check() – Checks if a given request has access to read a single theme global styles config.
WP_REST_Global_Styles_Controller::get_theme_item() – Returns the given theme global styles config.
WP_REST_Global_Styles_Controller::get_item_schema() – Retrieves the global styles type’ schema, conforming to JSON Schema.
WP_REST_Global_Styles_Controller::get_collection_params() – Retrieves the query params for the global styles collection.
WP_REST_Global_Styles_Controller::get_available_actions() – Get the link relations available for the post and current user.
WP_REST_Global_Styles_Controller::protected_title_format() – Overwrites the default protected title format.
WP_REST_Global_Styles_Controller::prepare_links() – Prepares links for the request.
WP_REST_Global_Styles_Controller::get_post() – Get the post, if the ID is valid.
WP_REST_Global_Styles_Controller::prepare_item_for_response() – Prepare a global styles config output for response.
WP_REST_Global_Styles_Controller::prepare_item_for_database() – Prepares a single global styles config for update.
WP_REST_Global_Styles_Controller::check_update_permission() – Checks if a global style can be edited.
WP_REST_Global_Styles_Controller::update_item() – Updates a single global style config.
WP_REST_Global_Styles_Controller::update_item_permissions_check() – Checks if a given request has access to write a single global styles config.
WP_REST_Global_Styles_Controller::get_item() – Returns the given global styles config.
WP_REST_Global_Styles_Controller::get_item_permissions_check() – Checks if a given request has access to read a single global style.
WP_REST_Global_Styles_Controller::check_read_permission() – Checks if a global style can be read.
WP_REST_Global_Styles_Controller::_sanitize_global_styles_callback() – Sanitize the global styles ID or stylesheet to decode endpoint.
WP_REST_Global_Styles_Controller::register_routes() – Registers the controllers routes.
WP_REST_Global_Styles_Controller
WP_REST_Global_Styles_Controller
WP_REST_Global_Styles_Controller::__construct() – Constructor.
WP_REST_Block_Renderer_Controller
1
2
3
…
48
Next Page
Search
Search