On this page
apply_filters( 'the_guid', string $post_guid, int $post_id )
Filters the escaped Global Unique Identifier (guid) of the post.
Description
See also
Parameters
$post_guidstring-
Escaped Global Unique Identifier (guid) of the post.
$post_idint-
The post ID.
Source
File: wp-includes/post-template.php. View all references
echo apply_filters( 'the_guid', $post_guid, $post_id );
Related
Used By
| Used By | Description |
|---|---|
| the_guid() wp-includes/post-template.php | Displays the Post Global Unique Identifier (guid). |
Changelog
| Version | Description |
|---|---|
| 4.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_guid