archive.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
B
G
M
R
W
Home
ยป
T
ยป
Page 3
API Letter:
T
WP_Theme_JSON::compute_preset_vars() – Given the block settings, it extracts the CSS Custom Properties for the presets and adds them to the $declarations array following the format:
WP_Theme_JSON::compute_preset_classes() – Given a settings array, it returns the generated rulesets for the preset classes.
WP_Theme_JSON::append_to_selector() – Function that appends a sub-selector to a existing one.
WP_Theme_JSON::get_merged_preset_by_slug() – Given an array of presets keyed by origin and the value key of the preset, it returns an array where each key is the preset slug and each value the preset value.
WP_Theme_JSON::get_css_variables() – Converts each styles section into a list of rulesets to be appended to the stylesheet.
WP_Theme_JSON::to_ruleset() – Given a selector and a declaration list, creates the corresponding ruleset.
WP_Theme_JSON::get_block_styles() – Converts each style section into a list of rulesets containing the block styles to be appended to the stylesheet.
WP_Theme_JSON::get_stylesheet() – Returns the stylesheet that results of processing the theme.json structure this object represents.
WP_Theme_JSON::remove_keys_not_in_schema() – Given a tree, removes the keys that are not present in the schema.
WP_Theme_JSON::get_settings() – Returns the existing settings for each block.
WP_Theme_JSON::get_blocks_metadata() – Returns the metadata for each block.
WP_Theme_JSON::sanitize() – Sanitizes the input according to the schemas.
WP_Theme_JSON
WP_Theme_JSON
WP_Theme_JSON::__construct() – Constructor.
wp-includes/class-wp-theme-json.php
WP_Theme_JSON_Resolver::clean_cached_data() – Cleans the cached data so it can be recalculated.
WP_Theme_JSON_Resolver::theme_has_support() – Whether the current theme has a theme.json file.
WP_Theme_JSON_Resolver::get_file_path_from_theme() – Builds the path to the given file and checks that it is readable.
WP_Theme_JSON_Resolver::get_merged_data() – Returns the data merged from multiple origins.
WP_Theme_JSON_Resolver::get_theme_data() – Returns the theme’s data.
WP_Theme_JSON_Resolver::translate() – Given a theme.json structure modifies it in place to update certain values by its translated strings according to the language set by the user.
WP_Theme_JSON_Resolver::get_core_data() – Return core’s origin config.
WP_Theme_JSON_Resolver::translate_theme_json_chunk() – Translates a chunk of the loaded theme.json structure.
WP_Theme_JSON_Resolver::extract_paths_to_translate() – Converts a tree as in i18n-theme.json into a linear array containing metadata to translate a theme.json file.
WP_Theme_JSON_Resolver::get_fields_to_translate() – Returns a data structure used in theme.json translation.
WP_Theme_JSON_Resolver
WP_Theme_JSON_Resolver
WP_Theme_JSON_Resolver::read_json_file() – Processes a file that adheres to the theme.json schema and returns an array with its contents, or a void array if none found.
wp-includes/class-wp-theme-json-resolver.php
WP_Block_Type_Registry
WP_Block_Template
render_block_core_site_title() – Renders the `core/site-title` block on the server.
register_block_core_site_title() – Registers the `core/site-title` block on the server.
wp-includes/blocks/site-title.php
render_block_core_site_tagline() – Renders the `core/site-tagline` block on the server.
register_block_core_site_tagline() – Registers the `core/site-tagline` block on the server.
wp-includes/blocks/site-tagline.php
update_option_theme_mods_$theme – action
delete_option_theme_mods_$theme – action
_override_custom_logo_theme_mod() – Overrides the custom logo with a site logo, if the option is set.
_sync_custom_logo_to_site_logo() – Updates the site_logo option when the custom_logo theme-mod gets updated.
theme_mod_custom_logo – filter
pre_set_theme_mod_custom_logo – filter
render_block_core_query_title() – Renders the `core/query-title` block on the server.
register_block_core_query_title() – Registers the `core/query-title` block on the server.
wp-includes/blocks/query-title.php
register_block_core_post_title() – Registers the `core/post-title` block on the server.
render_block_core_post_title() – Renders the `core/post-title` block on the server.
register_block_core_post_terms() – Registers the `core/post-terms` block on the server.
wp-includes/blocks/post-title.php
render_block_core_post_terms() – Renders the `core/post-terms` block on the server.
wp-includes/blocks/post-terms.php
register_block_core_post_template() – Registers the `core/post-template` block on the server.
render_block_core_post_template() – Renders the `core/post-template` block on the server.
wp-includes/blocks/post-template.php
wp_migrate_old_typography_shape() – Converts typography keys declared under `supports.*` to `supports.typography.*`.
_strip_template_file_suffix() – Strips .php or .html suffix from template file names.
_block_template_render_without_post_block_context() – Removes post details from block context when rendering a block template.
get_the_block_template_html() – Returns the markup for the current template.
_block_template_viewport_meta_tag() – Renders a ‘viewport’ meta tag.
resolve_block_template() – Return the correct ‘wp_template’ to render for the request template type.
_block_template_render_title_tag() – Displays title tag with content, regardless of whether theme has title-tag support.
wp-includes/block-template.php
locate_block_template() – Find a block template with equal or higher specificity than a given PHP template file.
get_block_template() – Retrieves a single unified template object using its id.
get_block_templates() – Retrieves a list of unified template objects based on a query.
wp-includes/block-template-utils.php
_build_template_result_from_post() – Build a unified template object based a post Object.
wp_typography_get_css_variable_inline_style() – Generates an inline style for a typography feature e.g. text decoration, text transform, and font style.
wp_tinycolor_hsl_to_rgb() – Convert an HSL object to an RGB object with converted and rounded values.
wp_tinycolor_string_to_rgb() – Parses hex, hsl, and rgb CSS strings using the same regex as TinyColor v1.4.2 used in the JavaScript. Only colors output from react-color are implemented.
wp_tinycolor_rgb_to_rgb() – Round and convert values of an RGB object.
wp_tinycolor_hue_to_rgb() – Helper function for hsl to rgb conversion.
wp_tinycolor_bound01() – Takes input from [0, n] and returns it as [0, 1].
get_block_editor_theme_styles() – Creates an array of theme styles to load into the block editor.
widget_types_to_hide_from_legacy_widget_block – filter
allowed_block_types_all – filter
get_allowed_block_types() – Gets the list of allowed block types to use in the block editor.
Requests_Transport_fsockopen
Requests_Transport_cURL::get_expect_header() – Get the correct "Expect" header for the given request data.
Requests_Transport_cURL
site_health_navigation_tabs – filter
delete_theme – action
deleted_theme – action
site_health_tab_content – action
WP_Plugins_List_Table
WP_Plugin_Install_List_Table
WP_MS_Themes_List_Table
WP_Comments_List_Table
WP_Application_Passwords_List_Table
attachment_fields_to_edit – filter
WP_Widget_Text
update_post_term_count_statuses – filter
wp_print_inline_script_tag() – Prints inline JavaScript wrapped in `<script>` tag.
wp_get_inline_script_tag() – Wraps inline JavaScript in `<script>` tag.
wp_print_script_tag() – Prints formatted `<script>` loader tag.
wp_get_script_tag() – Formats `<script>` loader tags.
wp-includes/robots-template.php
WP_REST_Term_Search_Handler
WP_REST_Themes_Controller::is_same_theme() – Helper function to compare two themes.
WP_REST_Themes_Controller::prepare_links() – Prepares links for the request.
Previous Page
1
2
3
4
5
…
28
Next Page
Search
Search