current_user_can_for_blog


current_user_can_for_blog ( $blog_id, $capability )

Parameters:
  • (int) $blog_id Site ID.
  • (string) $capability Capability name.
Returns:
  • (bool) Whether the user has the given capability.
Defined at:

Description

Whether the current user has a specific capability for a given site.

Related Functions

current_user_can, get_users_of_blog, remove_user_from_blog, get_currentuserinfo, current_theme_info

Top Google Results

User discussions

wpseek mobile