get_editable_user_ids


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:

Description

Gets the IDs of any users who can edit posts.

Related Functions

get_editable_authors, get_editable_roles, get_edit_user_link, get_author_user_ids, get_current_user_id

Top Google Results

User discussions

wpseek mobile