首页 WordPress函数大全 is_new_day()

is_new_day()

2020-05-02 / 4475阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

is_new_day()

Determines whether the publish date of the current post in the loop is different from the publish date of the previous post in the loop.

描述

For more information> Conditional Tags article in the Theme Developer Handbook.

Return Return

(int) 1 when new day, 0 if not a new day.

大家谈论
    我的见解