archive.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
B
G
M
R
W
Home
»
R
API Letter:
R
rest_after_insert_post – action
rest_after_insert_page – action
_wp_block_theme_register_classic_sidebars() – Registers the previous theme’s sidebars for the block themes.
wp_is_password_reset_allowed_for_user() – Checks if password reset is allowed for a specific user.
WP_REST_Navigation_Fallback_Controller::prepare_links() – Prepares the links for the request.
WP_REST_Navigation_Fallback_Controller::prepare_item_for_response() – Matches the post data to the schema we want.
WP_REST_Navigation_Fallback_Controller::get_item_schema() – Retrieves the fallbacks’ schema, conforming to JSON Schema.
WP_REST_Navigation_Fallback_Controller::get_item() – Gets the most appropriate fallback Navigation Menu.
WP_REST_Navigation_Fallback_Controller::get_item_permissions_check() – Checks if a given request has access to read fallbacks.
WP_REST_Navigation_Fallback_Controller::register_routes() – Registers the controllers routes.
WP_REST_Navigation_Fallback_Controller
WP_REST_Navigation_Fallback_Controller
WP_REST_Navigation_Fallback_Controller::__construct() – Constructs the controller.
wp-includes/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php
WP_REST_Global_Styles_Revisions_Controller::get_parent() – Gets the parent post, if the ID is valid.
WP_REST_Global_Styles_Revisions_Controller::get_item_permissions_check() – Checks if a given request has access to read a single global style.
WP_REST_Global_Styles_Revisions_Controller::get_item_schema() – Retrieves the revision’s schema, conforming to JSON Schema.
WP_REST_Global_Styles_Revisions_Controller::prepare_item_for_response() – Prepares the revision for the REST response.
WP_REST_Global_Styles_Revisions_Controller::prepare_date_response() – Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
WP_REST_Global_Styles_Revisions_Controller::get_items() – Returns paginated revisions of the given global styles config custom post type.
WP_REST_Global_Styles_Revisions_Controller::get_collection_params() – Retrieves the query params for collections.
WP_REST_Global_Styles_Revisions_Controller::get_decoded_global_styles_json() – Returns decoded JSON from post content string, or a 404 if not found.
WP_REST_Global_Styles_Revisions_Controller::register_routes() – Registers the controller’s routes.
WP_REST_Global_Styles_Revisions_Controller
WP_REST_Global_Styles_Revisions_Controller::__construct() – Constructor.
WP_REST_Global_Styles_Revisions_Controller
wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php
WP_REST_Global_Styles_Controller::validate_custom_css() – Validate style.css as valid CSS.
WP_REST_Blocks_Controller
WP_REST_Block_Patterns_Controller::migrate_pattern_categories() – Migrates old core pattern categories to the new categories.
rest_wp_navigation_item_schema – filter
_wp_reset_invalid_menu_item_parent() – Prevents menu items from being their own parent.
wp_nav_menu_remove_menu_item_has_children_class() – Remove the `menu-item-has-children` class from bottom level menu items.
WP_HTML_Text_Replacement::__construct() – Constructor.
WP_HTML_Text_Replacement
WP_HTML_Text_Replacement
WP_HTML_Tag_Processor::remove_class() – Removes a class name from the currently matched tag.
WP_HTML_Tag_Processor::remove_attribute() – Remove an attribute from the currently-matched tag.
WP_HTML_Tag_Processor::release_bookmark() – Removes a bookmark that is no longer needed.
_make_clickable_rel_attr() – Helper function used to build the "rel" attribute for a URL when creating an anchor using make_clickable().
_get_comment_reply_id() – Gets the comment’s reply to ID from the $_GET[’replytocom’].
WP_Theme_JSON::resolve_variables() – Resolves the values of CSS variables in the given styles.
WP_Theme_JSON::resolve_custom_css_format() – Given a tree, converts the internal representation of variables to the CSS representation.
WP_Theme_JSON::remove_indirect_properties() – Removes indirect properties from the given input node and sets in the given output node.
WP_Theme_JSON_Resolver::recursively_iterate_json() – Returns an array of all nested JSON files within a given directory.
WP_Textdomain_Registry::get_paths_for_domain() – Returns possible language directory paths for a given text domain.
WP_Text_Diff_Renderer_inline
WP_Recovery_Mode
WP_Recovery_Mode_Key_Service
WP_HTTP_Requests_Response
WP_Duotone::render_duotone_support() – Render out the duotone CSS styles and SVG.
WP_Duotone::register_duotone_support() – Registers the style and colors block attributes for block types that support it.
WP_Duotone::colord_parse_rgba_string() – Parses a valid RGB[A] CSS color function/string
WP_Duotone::colord_clamp_rgba() – Clamps an array of RGBA values.
render_block_core_post_author_name() – Renders the `core/post-author-name` block on the server.
register_block_core_post_author_name() – Registers the `core/post-author-name` block on the server.
register_block_core_page_list_item() – Registers the `core/page-list-item` block on server.
register_core_block_style_handles() – Registers core block style handles.
register_block_core_heading() – Registers the `core/heading` block on server.
block_core_heading_render() – Adds a wp-block-heading class to the heading block content.
_wp_rest_api_force_autosave_difference() – This is a workaround for the autosave endpoint returning early if the revision field are equal. The problem is that "footnotes" is not real revision post field, so there’s nothing to compare against.
wp_get_footnotes_from_revision() – Gets the footnotes field from the revision.
_wp_rest_api_autosave_meta() – The REST API autosave endpoint doesn’t save meta, so we can use the `wp_creating_autosave` when it updates an exiting autosave, and `_wp_put_post_revision` when it creates a new autosave.
wp_add_footnotes_to_revision() – Adds the footnotes field to the revision.
wp_add_footnotes_revisions_to_post_meta() – This is a specific fix for the REST API. The REST API doesn’t update the post and post meta in one go (through `meta_input`). While it does fix the `wp_after_insert_post` hook to be called correctly after updating meta, it does NOT fix hooks such as post_updated and save_post, which are normally also fired after post meta is updated in `wp_insert_post()`. Unfortunately, `wp_save_post_revision` is added to the `post_updated` action, which means the meta is not available at the time, so we have to add it afterwards through the `"rest_after_insert_{$post_type}"` action.
wp_restore_footnotes_from_revision() – Restores the footnotes meta value from the revision.
wp_keep_footnotes_revision_id() – Keeps track of the revision ID for "rest_after_insert_{$post_type}".
register_block_core_footnotes() – Registers the `core/footnotes` block on the server.
render_block_core_footnotes() – Renders the `core/footnotes` block on the server.
rest_pre_insert_post – filter
_wp_post_revision_field_footnotes – filter
rest_after_insert_$post_type – action
excerpt_remove_footnotes() – Parses footnotes markup out of a content string, and renders those appropriate for the excerpt.
wp_register_shadow_support() – Registers the style and shadow block attributes for block types that support it.
wp_render_position_support() – Renders position styles to the block wrapper.
wp_register_position_support() – Registers the style block attribute for block types that support it.
wp_normalize_remote_block_pattern() – Normalize the pattern properties to camelCase.
wp-includes/Requests/src/Utility/InputValidator.php
wp-includes/Requests/src/Utility/FilteredIterator.php
wp-includes/Requests/src/Utility
wp-includes/Requests/src/Utility/CaseInsensitiveDictionary.php
Fsockopen::request_multiple() – Send multiple requests simultaneously
Fsockopen::request() – Perform a request
wp-includes/Requests/src/Transport/Fsockopen.php
Curl::process_response() – Process a response
Curl::request_multiple() – Send multiple requests simultaneously
Curl::request() – Perform a request
wp-includes/Requests/src/Transport
wp-includes/Requests/src/Transport/Curl.php
wp-includes/Requests/src/Transport.php
Ssl::verify_reference_name() – Verify that a reference name is valid
wp-includes/Requests/src/Ssl.php
Session::merge_request() – Merge a request’s data with the default data
Session::request_multiple() – Send multiple HTTP requests simultaneously
Session::request() – Main interface for HTTP requests
wp-includes/Requests/src/Session.php
wp-includes/Requests/src/Response
wp-includes/Requests/src/Response/Headers.php
Response::decode_body() – JSON decode the response body.
Response::throw_for_status() – Throws an exception if the request was not successful
Response::is_redirect() – Is the response a redirect?
Response
1
2
3
…
33
Next Page
Search
Search