Documentation

PA_Subscription
in package

The PuzzleAnywhere Subscription class. It allows for an easy way to display a user's subscription data.

Table of Contents

$customer_email  : string
The purchase email address.
$email  : string
The email address to send subscription-based emails to.
$end_ts  : string
The end datetime of the user's subscription.
$id  : int
The user subscription ID.
$purchase  : PA_Purchase
The associated purchase for this subscription.
$purchase_id  : int
The purchase ID for the user's subscription.
$recurring  : bool
Denotes whether the subscription is recurring.
$start_ts  : string
The start datetime of the user's subscription.
is_active()  : bool
Denotes whether the user can receive puzzles.

Properties

Methods

is_active()

Denotes whether the user can receive puzzles.

public is_active() : bool
Return values
bool

Returns true if the user can receive puzzles.

Search results