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