user_can_delete_post_comments
- user_can_delete_post_comments is deprecated since version 2.0.0!
Alternative: current_user_can()
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: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: 2.0.0
Description
Whether user can delete a post.