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

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

$timezone

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

$post_type

The post type to check.


Source

File: wp-includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.