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().
Source
File: wp-includes/feed.php
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |