wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp-includes/block-template.php › WordPress File
Funktionen12
› Block template loader functions.
Funktion | Kurzbeschreibung |
---|---|
get_the_block_template_html | Returns the markup for the current template. |
locate_block_template | Finds a block template with equal or higher specificity than a given PHP template file. |
register_block_template | Register a block template. |
resolve_block_template | Returns the correct 'wp_template' to render for the request template type. |
unregister_block_template | Unregister a block template. |
wp_render_empty_block_template_warning | Renders a warning screen for empty block templates. |
_add_template_loader_filters | Adds necessary hooks to resolve '_wp-find-template' requests. |
_block_template_render_title_tag | Displays title tag with content, regardless of whether theme has title-tag support. |
_block_template_render_without_post_block_context | Removes post details from block context when rendering a block template. |
_block_template_viewport_meta_tag | Renders a 'viewport' meta tag. |
_resolve_template_for_new_post | Sets the current WP_Query to return auto-draft posts. |
_strip_template_file_suffix | Strips .php or .html suffix from template file names. |