get_feed_build_date WordPress Filter Hook

The get_feed_build_date hook allows you to programmatically set the build date for your Wordpress RSS feed. This can be useful if you want to ensure that your RSS feed always contains the most up-to-date information.

apply_filters( 'get_feed_build_date', string|false $max_modified_time, string $format ) #

Filters the date the last post or comment in the query was modified.


Parameters

$max_modified_time

(string|false)Date the last post or comment was modified in the query, in UTC. False on failure.

$format

(string)The date format requested in get_feed_build_date().


Top ↑

Source

File: wp-includes/feed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.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.