Tribe__Tickets__Commerce__PayPal__Main::login_required()
Indicates if we currently require users to be logged in before they can obtain tickets.
Return
(bool)
Source
File: src/Tribe/Commerce/PayPal/Main.php
public function login_required() {
$requirements = (array) tribe_get_option( 'ticket-authentication-requirements', array() );
return in_array( 'event-tickets_all', $requirements, true );
}
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |