Make WordPress Core

Changeset 58356

Timestamp:
06/06/2024 02:34:58 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct DocBlock formatting for apply_block_hooks_to_content().

Follow-up to [58291], [58355].

Props khokansardar.
Fixes #61392.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks.php

    r58355 r58356  
    10091009 * @access private
    10101010 *
    1011  * @param string $content Serialized content.
    1012  * @param WP_Block_Template|WP_Post|array $context       A block template, template part, `wp_navigation` post object,
    1013  *                                                       or pattern that the blocks belong to.
    1014  * @param callable                        $callback      A function that will be called for each block to generate
    1015  *                                                       the markup for a given list of blocks that are hooked to it.
    1016  *                                                       Default: 'insert_hooked_blocks'.
     1011 * @param string Serialized content.
     1012 * @param WP_Block_Template|WP_Post|array $context  A block template, template part, `wp_navigation` post object,
     1013 *                                                  or pattern that the blocks belong to.
     1014 * @param callable                        $callback A function that will be called for each block to generate
     1015 *                                                  the markup for a given list of blocks that are hooked to it.
     1016 *                                                  Default: 'insert_hooked_blocks'.
    10171017 * @return string The serialized markup.
    10181018 */
Note: See TracChangeset for help on using the changeset viewer.