Definition:
function the_guid( $id = 0 ) {}
Display the Post Global Unique Identifier (guid).
The guid will appear to be a link, but should not be used as an link to the post. The reason you should not use it as a link, is because of moving the blog across domains.
Parameters
- int $id: Optional. Post ID.
Source code
function the_guid( $id = 0 ) { echo esc_url( get_the_guid( $id ) ); }
3015
No comments yet... Be the first to leave a reply!