wp-includes/block-template.php
Lines:
1 to 28 of 28
<?php /** * Block template loader functions. * * @package WordPress */ /* function _add_template_loader_filters() – Adds necessary filters to use ‘wp_template’ posts instead of theme template files. */ /* function locate_block_template() – Find a block template with equal or higher specificity than a given PHP template file. */ /* function resolve_block_template() – Return the correct ‘wp_template’ to render for the request template type. */ /* function _block_template_render_title_tag() – Displays title tag with content, regardless of whether theme has title-tag support. */ /* function get_the_block_template_html() – Returns the markup for the current template. */ /* function _block_template_viewport_meta_tag() – Renders a ‘viewport’ meta tag. */ /* function _strip_template_file_suffix() – Strips .php or .html suffix from template file names. */ /* function _block_template_render_without_post_block_context() – Removes post details from block context when rendering a block template. */ /* function _resolve_template_for_new_post() – Sets the current WP_Query to return auto-draft posts. */ /* function _resolve_home_block_template() – Returns the correct template for the site’s home page. */