user_can_edit_post
- user_can_edit_post is deprecated since version 2.0.0!
Alternative: current_user_can()
user_can_edit_post ( $user_id, $post_id, $blog_id = 1 )
Parameters:- (int) user_id
- (int) post_id
- (int) blog_id Not Used
See:Returns:Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: 2.0.0
Description
Whether user can edit a post.