single.html
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Blocks
  • Plugins
  • Themes
  • Sitemap
  • Blog
  • Block news
  • About

Home » Files » wp-includes » wp-includes/block-template.php

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. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: wp-includes/block-template.php
      Plugin ref: WordPress
      Version: 6.1.1
      Deprecated?: No
      API Letters: B,I,P,T,W

      Published:

      12th September 2021

      Last updated:

      16th November 2022

      Information

      File name: wp-includes/block-template.php
      Plugin ref: WordPress
      Version: 6.1.1
      Deprecated?: No
      API Letters: B,I,P,T,W
      WordPress core a2z

      WordPress core a2z

      WordPress core only

      WordPress version:6.1.1
      Gutenberg version:
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  core.wp-a2z.org
      (C) Copyright Bobbing Wide 2020-2022. All rights reserved


      Website designed and developed by Herb Miller 
      Proudly powered by WordPress and oik plugins

      • Twitter
      • Facebook
      • GitHub
      • WordPress

      • Home
      • Blog
      • Sitemap
      • Sites

      Summary file