get_pending_comments_num


get_pending_comments_num ( $post_id )

Parameters:
  • (int|array) $post_id Either a single Post ID or an array of Post IDs
Returns:
  • (int|array) Either a single Posts pending comments as an int or an array of ints keyed on the Post IDs
Defined at:

Description

Get the number of pending comments on a post or posts

Related Functions

get_edit_comment_link, get_comments_number, get_previous_comments_link, get_approved_comments, get_next_comments_link

Top Google Results

User discussions

wpseek mobile