WordPress at a glance
filter is not described

get_the_guid filter-hook . WP 1.5.0

Filters the Global Unique Identifier (guid) of the post.

Usage

add_filter( 'get_the_guid', 'filter_function_name_5906', 10, 2 );
function filter_function_name_5906( $guid, $id ){
	// filter...

	return $guid;
}
$guid(string)
Global Unique Identifier (guid) of the post.
$id(int)
The post ID.

Changelog

Since 1.5.0 Introduced.

Where the hook is called

get_the_guid()
get_the_guid
WP_REST_Posts_Controller::prepare_item_for_response()
get_the_guid
WP_REST_Revisions_Controller::prepare_item_for_response()
get_the_guid
wp-includes/post-template.php 226
return apply_filters( 'get_the_guid', $guid, $id );
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1466
'rendered' => apply_filters( 'get_the_guid', $post->guid, $post->ID ),
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 528
'rendered' => apply_filters( 'get_the_guid', $post->guid, $post->ID ),

Where the hook is used (in WP core)

Usage not found!