get_feed_build_date filter-hook . WP 5.2.0
Filters the date the last post or comment in the query was modified.
Usage
add_filter( 'get_feed_build_date', 'filter_function_name_3031', 10, 2 ); function filter_function_name_3031( $max_modified_time, $format ){ // filter... return $max_modified_time; }
- $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().
Changelog
Since 5.2.0 | Introduced. |
Where the hook is called
get_feed_build_date
wp-includes/feed.php 741
return apply_filters( 'get_feed_build_date', $max_modified_time, $format );