Filters the Global Unique Identifier (guid) of the post.
$post_guidstring$post_idintwp-includes/post-template.php:235get_the_guid()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1862WP_REST_Posts_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:615WP_REST_Revisions_Controller::prepare_item_for_response() * * @since 1.5.0 * * @param string $post_guid Global Unique Identifier (guid) of the post. * @param int $post_id The post ID. */ return apply_filters( 'get_the_guid', $post_guid, $post_id );} /** * Displays the post content. * * @since 0.71Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.