New and updated in 5.8.0
-
Displays title tag with content, regardless of whether theme has title-tag support.
-
functionget_the_block_template_html()
Returns the markup for the current template.
-
Renders a ‘viewport’ meta tag.
-
function_strip_template_file_suffix()
Strips .php or .html suffix from template file names.
-
Removes post details from block context when rendering a block template.
-
functionlocate_block_template()
Finds a block template with equal or higher specificity than a given PHP template file.
-
functionresolve_block_template()
Returns the correct ‘wp_template’ to render for the request template type.
-
Filters the image editor output format mapping.
-
functionwp_maybe_inline_styles()
Allows small styles to be inlined.
-
The maximum size of inlined styles in bytes.
-
Inject the block editor assets that need to be loaded into the editor’s iframe as an inline script.
-
Enqueues the assets required for the format library within the block editor.
-
functionwp_enqueue_global_styles()
Enqueues the global styles defined via theme.json.
-
Checks whether separate styles should be loaded for core blocks on-render.
-
Filters whether block styles should be loaded separately.
-
function_wp_array_set()
Sets an array in depth based on a path of keys.
-
Filters the headers of the data erasure fulfillment notification.
-
Filters the body of the user request confirmation email.
-
Filters the subject of the email sent when an erasure request is completed.
-
Filters the body of the data erasure fulfillment notification.
-
Builds metadata for the setting nodes, which returns in the form of:
-
Builds metadata for the style nodes, which returns in the form of:
-
methodWP_Theme_JSON::merge()
Merges new incoming data.
-
Returns the raw data.
-
Transforms the given editor settings according the add_theme_support format to the theme.json format.