Make WordPress Core

Changeset 57355


Ignore:
Timestamp:
01/25/2024 02:18:43 PM (9 months ago)
Author:
Bernhard Reiter
Message:

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.

File:
1 edited

Legend:

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

    r57354 r57355  
    840840         * Filters the parsed block array for a given hooked block.
    841841         *
     842         * The dynamic portion of the hook name, `$hooked_block_type`, refers to the block type name of the specific hooked block.
     843         *
    842844         * @since 6.5.0
    843845         *
Note: See TracChangeset for help on using the changeset viewer.