Changeset 57550 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 02/07/2024 10:54:34 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r57521 r57550 824 824 * @since 6.4.0 825 825 * 826 * @param string[] $hooked_block_types The list of hooked block types. 827 * @param string $relative_position The relative position of the hooked blocks. 828 * Can be one of 'before', 'after', 'first_child', or 'last_child'. 829 * @param string $anchor_block_type The anchor block type. 830 * @param WP_Block_Template|array $context The block template, template part, or pattern that the anchor block belongs to. 826 * @param string[] $hooked_block_types The list of hooked block types. 827 * @param string $relative_position The relative position of the hooked blocks. 828 * Can be one of 'before', 'after', 'first_child', or 'last_child'. 829 * @param string $anchor_block_type The anchor block type. 830 * @param WP_Block_Template|WP_Post|array $context The block template, template part, `wp_navigation` post type, 831 * or pattern that the anchor block belongs to. 831 832 */ 832 833 $hooked_block_types = apply_filters( 'hooked_block_types', $hooked_block_types, $relative_position, $anchor_block_type, $context ); … … 848 849 * @since 6.5.0 849 850 * 850 * @param array $parsed_hooked_block The parsed block array for the given hooked block type. 851 * @param string $relative_position The relative position of the hooked block. 852 * @param array $parsed_anchor_block The anchor block, in parsed block array format. 853 * @param WP_Block_Template|array $context The block template, template part, or pattern that the anchor block belongs to. 851 * @param array $parsed_hooked_block The parsed block array for the given hooked block type. 852 * @param string $relative_position The relative position of the hooked block. 853 * @param array $parsed_anchor_block The anchor block, in parsed block array format. 854 * @param WP_Block_Template|WP_Post|array $context The block template, template part, `wp_navigation` post type, 855 * or pattern that the anchor block belongs to. 854 856 */ 855 857 $parsed_hooked_block = apply_filters( "hooked_block_{$hooked_block_type}", $parsed_hooked_block, $relative_position, $parsed_anchor_block, $context ); … … 875 877 * @access private 876 878 * 877 * @param array $hooked_blocks An array of blocks hooked to another given block. 878 * @param WP_Block_Template|array $context A block template, template part, or pattern that the blocks belong to. 879 * @param array $hooked_blocks An array of blocks hooked to another given block. 880 * @param WP_Block_Template|WP_Post|array $context A block template, template part, `wp_navigation` post object, 881 * or pattern that the blocks belong to. 879 882 * @return callable A function that returns the serialized markup for the given block, 880 883 * including the markup for any hooked blocks before it. … … 921 924 * @access private 922 925 * 923 * @param array $hooked_blocks An array of blocks hooked to another block. 924 * @param WP_Block_Template|array $context A block template, template part, or pattern that the blocks belong to. 926 * @param array $hooked_blocks An array of blocks hooked to another block. 927 * @param WP_Block_Template|WP_Post|array $context A block template, template part, `wp_navigation` post object, 928 * or pattern that the blocks belong to. 925 929 * @return callable A function that returns the serialized markup for the given block, 926 930 * including the markup for any hooked blocks after it.
Note: See TracChangeset
for help on using the changeset viewer.