diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
commit | 0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch) | |
tree | e139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/blocks/template-part.php | |
parent | Adding upstream version 6.5.5+dfsg1. (diff) | |
download | wordpress-0e41b5d52fdc6af6442816b5f465c9db9f84e126.tar.xz wordpress-0e41b5d52fdc6af6442816b5f465c9db9f84e126.zip |
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/template-part.php')
-rw-r--r-- | wp-includes/blocks/template-part.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/wp-includes/blocks/template-part.php b/wp-includes/blocks/template-part.php index 4332bb3..be867c4 100644 --- a/wp-includes/blocks/template-part.php +++ b/wp-includes/blocks/template-part.php @@ -8,6 +8,10 @@ /** * Renders the `core/template-part` block on the server. * + * @since 5.9.0 + * + * @global WP_Embed $wp_embed WordPress Embed object. + * * @param array $attributes The block attributes. * * @return string The render. @@ -174,6 +178,8 @@ function render_block_core_template_part( $attributes ) { /** * Returns an array of area variation objects for the template part block. * + * @since 6.1.0 + * * @param array $instance_variations The variations for instances. * * @return array Array containing the block variation objects. @@ -212,6 +218,8 @@ function build_template_part_block_area_variations( $instance_variations ) { /** * Returns an array of instance variation objects for the template part block * + * @since 6.1.0 + * * @return array Array containing the block variation objects. */ function build_template_part_block_instance_variations() { @@ -266,6 +274,8 @@ function build_template_part_block_instance_variations() { /** * Returns an array of all template part block variations. * + * @since 5.9.0 + * * @return array Array containing the block variation objects. */ function build_template_part_block_variations() { @@ -276,6 +286,8 @@ function build_template_part_block_variations() { /** * Registers the `core/template-part` block on the server. + * + * @since 5.9.0 */ function register_block_core_template_part() { register_block_type_from_metadata( |