Docs: Improve docblock for `block_template_part()`.
Clarify that `$part` is not limited to just 'header' or 'footer'. See #60699. Built from https://develop.svn.wordpress.org/trunk@58268 git-svn-id: http://core.svn.wordpress.org/trunk@57731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a007d3d985
commit
d67522adfe
|
@ -1265,7 +1265,7 @@ function get_block_file_template( $id, $template_type = 'wp_template' ) {
|
|||
*
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @param string $part The block template part to print. Either 'header' or 'footer'.
|
||||
* @param string $part The block template part to print, for example 'header' or 'footer'.
|
||||
*/
|
||||
function block_template_part( $part ) {
|
||||
$template_part = get_block_template( get_stylesheet() . '//' . $part, 'wp_template_part' );
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.6-alpha-58267';
|
||||
$wp_version = '6.6-alpha-58268';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue