get_the_guid ( $post = 0 )
- (int|WP_Post) post Optional. Post ID or post object. Default is global $post.
- Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Retrieve 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.