wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_get_lastpostmodified › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'pre_get_lastpostmodified', false, $timezone, $post_type )
Parametri: (3)
  • () lastpostmodified The most recent time that a post was modified, in 'Y-m-d H:i:s' format, or false. Returning anything other than false will short-circuit the function.
    Richiesto: Sì
  • () timezone Location to use for getting the post modified date. See get_lastpostdate() for accepted `$timezone` values.
    Richiesto: Sì
  • () post_type The post type to check.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

$lastpostmodified = apply_filters( 'pre_get_lastpostmodified', false, $timezone, $post_type );