the_guid WordPress Filter Hook

The the_guid WordPress hook is used to filter the post GUID.

apply_filters( 'the_guid', string $guid, int $id ) #

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


Description

Top ↑

See also


Top ↑

Parameters

$guid

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

$id

(int)The post ID.


Top ↑

Source

File: wp-includes/post-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.