Tribe__Tickets__REST__V1__Main::user_has_manage_access()
Return if the user has manage access.
Return
(bool) True if the user has manage access, false otherwise.
Source
File: src/Tribe/REST/V1/Main.php
public function user_has_manage_access() : bool {
return current_user_can( 'edit_users' ) || current_user_can( 'tribe_manage_attendees' );
}
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |