wp_ensure_editable_role


wp_ensure_editable_role ( $role )

Parameters:
  • (string) role Role the user is attempting to assign.
Defined at:

Description

Stop execution if the role can not be assigned by the current user.

Related Functions

get_editable_roles, wp_enqueue_editor, wp_enqueue_media, wp_nav_menu_disabled_check, wp_is_writable

Top Google Results

User discussions

wpseek mobile