[wp-trac] [WordPress Trac] #49708: Add a new function get_page_by_guid
WordPress Trac
noreply at wordpress.org
Mon Feb 3 10:55:28 UTC 2025
#49708: Add a new function get_page_by_guid
-------------------------------+------------------------------
Reporter: killua99 | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by zeeshankhan000):
Replying to [comment:2 zeeshankhan000]:
> The new function get_post_by_guid introduces a way to retrieve a post
using its GUID, making it easier to query posts without relying on ID or
other metadata.
This function enhances flexibility in fetching posts, particularly useful
in cases where GUIDs are unique identifiers across different systems or
databases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49708#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list