Tribe__Tickets__REST__V1__Main::user_has_read_private_posts_access()
Return if user can read private information.
Return
(bool) True if user can read private information, false otherwise.
Source
File: src/Tribe/REST/V1/Main.php
public function user_has_read_private_posts_access() : bool {
return current_user_can( 'read_private_posts' );
}
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |