Skip to content

Commit

Permalink
Docs: Correct DocBlock formatting for apply_block_hooks_to_content().
Browse files Browse the repository at this point in the history
Follow-up to [58291], [58355].

Props khokansardar.
Fixes #61392.

git-svn-id: https://develop.svn.wordpress.org/trunk@58356 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jun 6, 2024
1 parent 4376513 commit 5115c7a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/wp-includes/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -1008,12 +1008,12 @@ function set_ignored_hooked_blocks_metadata( &$parsed_anchor_block, $relative_po
* @since 6.6.0
* @access private
*
* @param string $content Serialized content.
* @param WP_Block_Template|WP_Post|array $context A block template, template part, `wp_navigation` post object,
* or pattern that the blocks belong to.
* @param callable $callback A function that will be called for each block to generate
* the markup for a given list of blocks that are hooked to it.
* Default: 'insert_hooked_blocks'.
* @param string $content Serialized content.
* @param WP_Block_Template|WP_Post|array $context A block template, template part, `wp_navigation` post object,
* or pattern that the blocks belong to.
* @param callable $callback A function that will be called for each block to generate
* the markup for a given list of blocks that are hooked to it.
* Default: 'insert_hooked_blocks'.
* @return string The serialized markup.
*/
function apply_block_hooks_to_content( $content, $context, $callback = 'insert_hooked_blocks' ) {
Expand Down

0 comments on commit 5115c7a

Please sign in to comment.