首页 WordPress函数大全 get_pending_comments_num()

get_pending_comments_num()

2020-05-01 / 3853阅 / 悠然

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

get_pending_comments_num( int|array $post_id )

Get the number of pending comments>

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses
    • Used By
  • User Contributed Notes

描述

参数

$post_id

(int|array)
(Required)
Either a single Post ID or an array of Post IDs

返回

(int|array) Either a single Posts pending comments as an int or an array of ints keyed on the Post IDs

大家谈论
    我的见解