apply_filters( 'pre_get_lastpostmodified', string $lastpostmodified, string $timezone, string $post_type )

Pre-filter the return value of get_lastpostmodified() before the query is run.


Parameters

$lastpostmodified

(string) Date the last post was modified. Returning anything other than false will short-circuit the function.

$timezone

(string) Location to use for getting the post modified date. See get_lastpostdate() for accepted $timezone values.

$post_type

(string) The post type to check.


Source

File: wp-includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.