W3cubDocs

/WordPress

apply_filters( ‘the_guid’, string $post_guid, int $post_id )

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

Description

See also

Parameters

$post_guidstring
Escaped Global Unique Identifier (guid) of the post.
$post_idint
The post ID.

Source

echo apply_filters( 'the_guid', $post_guid, $post_id );

Changelog

Version Description
4.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_guid