[wp-trac] [WordPress Trac] #56394: Add docs to clarify that `get_page_template()` doesn't work on block themes
WordPress Trac
noreply at wordpress.org
Wed Aug 17 19:14:31 UTC 2022
#56394: Add docs to clarify that `get_page_template()` doesn't work on block themes
--------------------------+---------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Editor | Version: 5.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
--------------------------+---------------------
Comment (by audrasjb):
Yeah I think we should at least go with a mention to rather use
`locate_block_template()` for block themes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56394#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list