Make WordPress Core


Ignore:
Timestamp:
11/02/2022 07:50:11 PM (23 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add brackets to a function name in get_page_template() description.

This ensures the locate_block_template() function name is correctly linked in the Developer Reference.

Follow-up to [54179].

See #56792.

File:
1 edited

Legend:

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

    r54270 r54747  
    438438 * Retrieves path of page template in current or parent template.
    439439 *
    440  * Note: For block themes, use locate_block_template function instead.
     440 * Note: For block themes, use locate_block_template() function instead.
    441441 *
    442442 * The hierarchy for this template looks like:
Note: See TracChangeset for help on using the changeset viewer.