get_editable_user_ids
- get_editable_user_ids is deprecated since version 3.1.0!
Alternative: get_users()
get_editable_user_ids ( $user_id, $exclude_zeros = true, $post_type = 'post' )
Parameters:- (int) user_id User ID.
- (bool) exclude_zeros Optional. Whether to exclude zeroes. Default true.
Returns:- (array) Array of editable user IDs, empty array otherwise.
Defined at: - Introduced in WordPress: —
- Deprecated in WordPress: 3.1.0
Description
Gets the IDs of any users who can edit posts.