• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/block-template.php

_resolve_home_block_template()

Function: Returns the correct template for the site’s home page.

Source: wp-includes/block-template.php:343

Used by 0 functions | Uses 2 functions

_add_template_loader_filters()

Function: Adds necessary filters to use ‘wp_template’ posts instead of theme template files.

Source: wp-includes/block-template.php:14

Used by 0 functions | Uses 3 functions

_resolve_template_for_new_post()

Function: Sets the current WP_Query to return auto-draft posts.

Source: wp-includes/block-template.php:314

Used by 0 functions | Uses 4 functions

locate_block_template()

Function: Find a block template with equal or higher specificity than a given PHP template file.

Source: wp-includes/block-template.php:48

Used by 1 function | Uses 10 functions

resolve_block_template()

Function: Return the correct ‘wp_template’ to render for the request template type.

Source: wp-includes/block-template.php:132

Used by 2 functions | Uses 7 functions

_block_template_render_title_tag()

Function: Displays title tag with content, regardless of whether theme has title-tag support.

Source: wp-includes/block-template.php:212

Used by 0 functions | Uses 1 function

get_the_block_template_html()

Function: Returns the markup for the current template.

Source: wp-includes/block-template.php:227

Used by 0 functions | Uses 10 functions

_block_template_viewport_meta_tag()

Function: Renders a ‘viewport’ meta tag.

Source: wp-includes/block-template.php:261

Used by 0 functions | Uses 0 functions

_strip_template_file_suffix()

Function: Strips .php or .html suffix from template file names.

Source: wp-includes/block-template.php:274

Used by 0 functions | Uses 0 functions

_block_template_render_without_post_block_context()

Function: Removes post details from block context when rendering a block template.

Source: wp-includes/block-template.php:288

Used by 0 functions | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry