Block Hooks: Amend PHPDoc for `hooked_block_{$hooked_block_type}` filter.
Add missing explanation of the dynamic part of the hook name. Follow-up [57354]. Props swissspidy. See #59572, #60126. Built from https://develop.svn.wordpress.org/trunk@57355 git-svn-id: http://core.svn.wordpress.org/trunk@56861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b4938efb13
commit
b22f506554
|
@ -839,6 +839,8 @@ function insert_hooked_blocks( &$parsed_anchor_block, $relative_position, $hooke
|
||||||
/**
|
/**
|
||||||
* Filters the parsed block array for a given hooked block.
|
* Filters the parsed block array for a given hooked block.
|
||||||
*
|
*
|
||||||
|
* The dynamic portion of the hook name, `$hooked_block_type`, refers to the block type name of the specific hooked block.
|
||||||
|
*
|
||||||
* @since 6.5.0
|
* @since 6.5.0
|
||||||
*
|
*
|
||||||
* @param array $parsed_hooked_block The parsed block array for the given hooked block type.
|
* @param array $parsed_hooked_block The parsed block array for the given hooked block type.
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.5-alpha-57354';
|
$wp_version = '6.5-alpha-57355';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue