archive.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
B
G
M
R
W
Home
»
T
API Letter:
T
_wp_block_theme_register_classic_sidebars() – Registers the previous theme’s sidebars for the block themes.
_wp_delete_all_temp_backups() – Deletes all contents in the temporary backup directory.
wp_delete_all_temp_backups() – Schedules the removal of all contents in the temporary backup directory.
wp_delete_temp_updater_backups – action
wp_block_theme_activate_nonce() – Set a JavaScript constant for theme activation.
wp_attach_theme_preview_middleware() – Adds a middleware to `apiFetch` to set the theme for the preview.
wp_get_theme_preview_path() – Filters the blog option to return the path for the previewed theme.
wp-includes/theme-previews.php
wp_lazyload_term_meta() – Queue term meta for lazy-loading.
wp_add_fields_to_navigation_fallback_embedded_links() – Expose additional fields in the embeddable links of the Navigation Fallback REST endpoint.
_wp_post_thumbnail_context_filter_remove() – Removes the ‘_wp_post_thumbnail_context_filter’ callback from the ‘wp_get_attachment_image_context’ filter hook. Internal use only.
_wp_post_thumbnail_context_filter_add() – Adds the ‘_wp_post_thumbnail_context_filter’ callback to the ‘wp_get_attachment_image_context’ filter hook. Internal use only.
_wp_post_thumbnail_context_filter() – Overrides the context used in {@see wp_get_attachment_image()}. Internal use only.
wp_img_tag_add_loading_optimization_attrs() – Adds optimization attributes to an `img` HTML tag.
wp_get_word_count_type() – Retrieves the word count type based on the locale.
switch_to_user_locale() – Switches the translations according to the given user’s locale.
pre_load_textdomain – filter
WP_HTML_Text_Replacement::__construct() – Constructor.
WP_HTML_Text_Replacement
WP_HTML_Text_Replacement
WP_HTML_Tag_Processor::matches() – Checks whether a given tag and its attributes match the search criteria.
WP_HTML_Tag_Processor::parse_query() – Parses tag query input into internal search criteria.
WP_HTML_Tag_Processor::get_updated_html() – Returns the string representation of the HTML Tag Processor.
WP_HTML_Tag_Processor::__toString() – Returns the string representation of the HTML Tag Processor.
WP_HTML_Tag_Processor::remove_class() – Removes a class name from the currently matched tag.
WP_HTML_Tag_Processor::add_class() – Adds a new class name to the currently matched tag.
WP_HTML_Tag_Processor::remove_attribute() – Remove an attribute from the currently-matched tag.
WP_HTML_Tag_Processor::set_attribute() – Updates or creates a new attribute on the currently matched tag with the passed value.
WP_HTML_Tag_Processor::is_tag_closer() – Indicates if the current tag token is a tag closer.
WP_HTML_Tag_Processor::has_self_closing_flag() – Indicates if the currently matched tag contains the self-closing flag.
WP_HTML_Tag_Processor::get_attribute_names_with_prefix() – Gets lowercase names of all attributes matching a given prefix in the current tag.
WP_HTML_Tag_Processor::get_tag() – Returns the uppercase name of the matched tag.
WP_HTML_Tag_Processor::get_attribute() – Returns the value of a requested attribute from a matched tag opener if that attribute exists.
WP_HTML_Tag_Processor::get_enqueued_attribute_value() – Return the enqueued value for a given attribute, if one exists.
WP_HTML_Tag_Processor::sort_start_ascending() – Compare two WP_HTML_Text_Replacement objects.
WP_HTML_Tag_Processor::has_bookmark() – Checks whether a bookmark with the given name exists.
WP_HTML_Tag_Processor::seek() – Move the internal cursor in the Tag Processor to a given bookmark’s location.
WP_HTML_Tag_Processor::apply_attributes_updates() – Applies attribute updates to HTML document.
WP_HTML_Tag_Processor::class_name_updates_to_attributes_updates() – Converts class name updates into tag attributes updates (they are accumulated in different data formats for performance).
WP_HTML_Tag_Processor::after_tag() – Applies attribute updates and cleans up once a tag is fully parsed.
WP_HTML_Tag_Processor::skip_whitespace() – Move the internal cursor past any immediate successive whitespace.
WP_HTML_Tag_Processor::parse_next_attribute() – Parses the next attribute.
WP_HTML_Tag_Processor::parse_next_tag() – Parses the next tag.
WP_HTML_Tag_Processor::skip_script_data() – Skips contents of script tags.
WP_HTML_Tag_Processor::skip_rcdata() – Skips contents of title and textarea tags.
WP_HTML_Tag_Processor::release_bookmark() – Removes a bookmark that is no longer needed.
WP_HTML_Tag_Processor::set_bookmark() – Sets a bookmark in the HTML document.
WP_HTML_Tag_Processor::next_tag() – Finds the next tag matching the $query.
WP_HTML_Tag_Processor
WP_HTML_Tag_Processor::__construct() – Constructor.
WP_HTML_Tag_Processor
WP_HTML_Attribute_Token
WP_HTML_Attribute_Token
WP_HTML_Attribute_Token::__construct() – Constructor.
wp_clean_theme_json_cache() – Cleans the caches under the theme_json group.
wp_get_theme_directory_pattern_slugs() – Returns the current theme’s wanted patterns (slugs) to be registered from Pattern Directory.
wp_theme_has_theme_json() – Checks whether a theme or its parent has a theme.json file.
WP_Customize_Themes_Section
WP_Customize_Themes_Panel
site_allowed_themes – filter
WP_Theme_JSON::resolve_variables() – Resolves the values of CSS variables in the given styles.
WP_Theme_JSON::convert_variables_to_value() – Replaces CSS variables with their values in place.
WP_Theme_JSON::get_feature_declarations_for_node() – Generates style declarations for a node’s features e.g., color, border, typography etc. that have custom selectors in their related block’s metadata.
WP_Theme_JSON::get_block_element_selectors() – Generates all the element selectors for a block.
WP_Theme_JSON::get_block_selectors() – Returns the selectors metadata for a block.
WP_Theme_JSON::resolve_custom_css_format() – Given a tree, converts the internal representation of variables to the CSS representation.
WP_Theme_JSON::convert_custom_properties() – This is used to convert 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::get_custom_css() – Returns the global styles custom CSS.
WP_Theme_JSON::process_blocks_custom_css() – Processes the CSS, to apply nesting.
WP_Theme_JSON::prepend_to_selector() – Prepends a sub-selector to an existing one.
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_Term_Query::generate_cache_key() – Generate cache key.
WP_Locale_Switcher::switch_to_user_locale() – Switches the translations according to the given user’s locale.
WP_Duotone::colord_hsla_to_rgba() – Converts an HSLA array to RGBA.
WP_Duotone::colord_hsla_to_hsva() – Converts an HSLA array to HSVA.
WP_Duotone::colord_hsva_to_rgba() – Converts an HSVA array to RGBA.
after_setup_theme – action
WP_Classic_To_Block_Menu_Converter::group_by_parent_id() – Returns an array of menu items grouped by the id of the parent menu item.
WP_Classic_To_Block_Menu_Converter::to_blocks() – Turns menu item data into a nested array of parsed blocks
WP_Classic_To_Block_Menu_Converter::convert() – Converts a Classic Menu to blocks.
WP_Classic_To_Block_Menu_Converter
WP_Classic_To_Block_Menu_Converter
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.
rest_after_insert_$post_type – action
get_classic_theme_supports_block_editor_settings() – Returns the classic theme supports settings for block editor.
Fsockopen::test() – Self-test whether the transport can be used.
wp-includes/Requests/src/Transport/Fsockopen.php
Curl::test() – Self-test whether the transport can be used.
wp-includes/Requests/src/Transport
wp-includes/Requests/src/Transport/Curl.php
wp-includes/Requests/src/Transport.php
Response::throw_for_status() – Throws an exception if the request was not successful
Requests::get_transport_class() – Get the fully qualified class name (FQCN) for a working transport.
Iri::to_uri() – Convert an IRI to a URI (or parts thereof)
Iri::__toString() – Return the entire IRI when you try and read the object as a string
IdnaEncoder::digit_to_char() – Convert a digit to its respective character
IdnaEncoder::utf8_to_codepoints() – Convert a UTF-8 string to a UCS-4 codepoint array
IdnaEncoder::to_ascii() – Convert a UTF-8 text string to an ASCII string using Punycode
1
2
3
…
29
Next Page
Search
Search