判断一篇文章是否为修订版本类型wp_is_post_revision()

wp_is_post_revision( int|WP_Post $post )

$post:文章ID

返回值:布尔值

评论
:broken_heart: :confounded: :flushed: :frowning: :grinning: :heart: :kissing_heart: :mask: :pensive: :rage: :relaxed: :scream: :smile: :smirk: :sob: :stuck_out_tongue_closed_eyes: :stuck_out_tongue_winking_eye: :wink: