wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_lastpostdate › Hooks de Filtros WordPress

Desde5.5.0
Obsoleton/a
› apply_filters( 'get_lastpostdate', $lastpostdate, $timezone, $post_type )
Parâmetros: (3)
  • () lastpostdate The most recent time that a post was published, in 'Y-m-d H:i:s' format. False on failure.
    Required: Yes
  • () timezone Location to use for getting the post published date. See get_lastpostdate() for accepted `$timezone` values.
    Required: Yes
  • () post_type The post type to check.
    Required: Yes
Definido em:
Codex:

Filters the most recent time that a post on the site was published.





Fonte

return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone, $post_type );