apply_filters( 'get_the_guid', string $guid, int $id )

Filters the Global Unique Identifier (guid) of the post.



(string) Global Unique Identifier (guid) of the post.


(int) The post ID.

Top ↑

More Information

Note that the filter callback function must return the guid after it is finished processing, or any code using the guid (for example: RSS feeds) will break, and other plugins also filtering the guid may generate errors.

Top ↑


File: wp-includes/post-template.php

View on Trac

Top ↑


Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.