user_can_delete_post_comments


user_can_delete_post_comments ( $user_id, $post_id, $blog_id = 1 )

Parameters:
  • (int) user_id
  • (int) post_id
  • (int) blog_id Not Used
See:
Returns:
  • (bool) returns true if $user_id can delete $post_id's comments
Defined at:

Description

Whether user can delete a post.

Related Functions

user_can_edit_post_comments, user_can_delete_post, user_can_set_post_date, user_can_create_post, user_can_edit_post_date

Top Google Results

User discussions

wpseek mobile