W3cubDocs

/WordPress

apply_filters( 'get_the_guid', string $guid, int $id )

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

Parameters

$guid

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

$id

(int) The post ID.

Source

File: wp-includes/post-template.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

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