[wp-trac] [WordPress Trac] #62666: Add function to retrieve page ID or permalink based on template
WordPress Trac
noreply at wordpress.org
Fri Jan 3 06:03:46 UTC 2025
#62666: Add function to retrieve page ID or permalink based on template
-----------------------------------+------------------------------
Reporter: gustavocoimbra | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: Enhancement has-patch | Focuses:
-----------------------------------+------------------------------
Comment (by kadiwala):
Hi @gustavocoimbra
I've updated the code with an array because what if one template is
assigned to multiple pages
So, we need to get all page IDs as per the template.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62666#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list