Uses
Uses | Description |
---|---|
wp-includes/rest-api.php: rest_authorization_required_code() | Returns a contextual HTTP error code for authorization failure. |
wp-admin/includes/user.php: get_editable_roles() | Fetch a filtered list of user roles that the current user is allowed to edit. |
wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/load.php: is_multisite() | If Multisite is enabled. |
wp-includes/user.php: get_current_user_id() | Get the current user’s ID |
wp-includes/class-wp-error.php: WP_Error::__construct() | Initialize the error. |