mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@57355 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -839,6 +839,8 @@ function insert_hooked_blocks( &$parsed_anchor_block, $relative_position, $hooke
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* @param array $parsed_hooked_block The parsed block array for the given hooked block type.
|
||||
|
||||
Reference in New Issue
Block a user