Filter hook 'get_the_guid'

in WP Core File wp-includes/post-template.php at line 235

Description

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

Occurrences

Filename Line Number
wp-includes/post-template.php 235
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1796
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 615

Parameters

Type Name Description
string $post_guid Global Unique Identifier (guid) of the post.
int $post_id The post ID.

PHP Doc

/**
	 * Filters the Global Unique Identifier (guid) of the post.
	 *
	 * @since 1.5.0
	 *
	 * @param string $post_guid Global Unique Identifier (guid) of the post.
	 * @param int    $post_id   The post ID.
	 */