archive.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
B
G
M
R
W
Home
ยป
R
ยป
Page 2
API Letter:
R
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.
rest_url_details_http_request_args – filter
WP_REST_URL_Details_Controller::permissions_check() – Checks whether a given request has permission to read remote URLs.
rest_prepare_url_details – filter
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-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::create_item() – Creates a single term in a taxonomy.
WP_REST_Menus_Controller::prepare_item_for_database() – Prepares a single term for create or update.
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.
rest_prepare_menu_location – filter
WP_REST_Menu_Locations_Controller::get_item() – Retrieves a specific menu location.
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_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.
rest_prepare_nav_menu_item – filter
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.
rest_pre_insert_nav_menu_item – filter
WP_REST_Menu_Items_Controller::delete_item() – Deletes a single menu item.
rest_delete_nav_menu_item – action
WP_REST_Menu_Items_Controller::update_item() – Updates a single nav menu item.
rest_after_insert_nav_menu_item – action
WP_REST_Menu_Items_Controller::create_item() – Creates a single post.
rest_insert_nav_menu_item – action
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-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
WP_REST_Global_Styles_Controller::get_theme_item() – Returns the given theme global styles config.
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_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::get_post() – Get the post, if the ID is valid.
WP_REST_Global_Styles_Controller::prepare_links() – Prepares links for the request.
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_Edit_Site_Export_Controller::export() – Output a ZIP file with an export of the current templates and template parts from the site editor, and close the connection.
wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
WP_REST_Edit_Site_Export_Controller::permissions_check() – Checks whether a given request has permission to export.
WP_REST_Edit_Site_Export_Controller::register_routes() – Registers the site export route.
Previous Page
1
2
3
4
…
30
Next Page
Search
Search