Tribe__Tickets__Commerce__PayPal__Notices::should_render_missing_identity_token_notice()
Whether the missing PDT identity token notice should be rendered or not.
Return
(bool)
Source
File: src/Tribe/Commerce/PayPal/Notices.php
public function should_render_missing_identity_token_notice() {
$transient = get_transient( $this->slug( 'show-missing-identity-token' ) );
$identity_token = tribe_get_option( 'ticket-paypal-identity-token' );
return ! empty( $transient ) && empty( $identity_token );
}
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |