user_can_edit_post_date
- user_can_edit_post_date is deprecated since version 2.0.0!
Alternative: current_user_can()
user_can_edit_post_date ( $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 edit $post_id's date
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: 2.0.0
Description
Whether user can delete a post.