get_the_guid


get_the_guid ( $post = 0 )

Parameters:
  • (int|WP_Post) post Optional. Post ID or post object. Default is global $post.
Returns:
  • (string)
Defined at:

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.

Related Functions

get_the_id, the_guid, get_the_author_id, get_the_date, get_the_tags

Top Google Results

User discussions

wpseek mobile