Make WordPress Core

Changeset 58268


Ignore:
Timestamp:
05/31/2024 10:42:31 AM (6 months ago)
Author:
swissspidy
Message:

Docs: Improve docblock for block_template_part().

Clarify that $part is not limited to just 'header' or 'footer'.

See #60699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-template-utils.php

    r58186 r58268  
    12661266 * @since 5.9.0
    12671267 *
    1268  * @param string $part The block template part to print. Either 'header' or 'footer'.
     1268 * @param string $part The block template part to print, for example 'header' or 'footer'.
    12691269 */
    12701270function block_template_part( $part ) {
Note: See TracChangeset for help on using the changeset viewer.