get_the_modified_date

过滤钩子


apply_filters( 'get_the_modified_date', $the_time, $format, $post )
参数
  • (string|int|false)
    $the_time
    The formatted date or false if no post is found.
    Required:
  • (string)
    $format
    PHP date format.
    Required:
  • (WP_Post|null)
    $post
    WP_Post object or null if no post is found.
    Required:
定义位置
  • wp-includes/general-template.php
    , line 2650
引入
4.6.0
弃用

过滤帖子的最后修改日期。

return apply_filters( 'get_the_modified_date', $the_time, $format, $post );