Plan Object
Explore the properties and methods available in the Plan object for Aikeedo themes.
The Plan
object represents a subscription plan in Aikeedo themes, providing access to essential plan information. This object is part of the plans
array, which is globally accessible, allowing you to easily incorporate plan-specific data and functionality into your theme.
Availability
The Plan
objects are available globally as part of the plans
array. You can iterate through this array to access individual plan objects and their properties.
It’s a good practice to check if the plans
array exists and has elements before attempting to access individual plan objects.
Properties
Each Plan
object contains the following properties:
A unique identifier for the plan, always in UUID version 4 format (e.g., “018e73c8-c4d7-7124-b9ee-83fcf3e1c74b”).
The name or title of the plan (e.g., “Free”).
A brief description of the plan (e.g., “Launch Your Journey”).
URL to the plan’s icon image. This field can be null if no icon is set.
The price of the plan. For free plans, this value will be 0.
The billing cycle for the plan (e.g., “monthly”).
The number of credits included in the plan.
Unix timestamp of when the plan was created.
Unix timestamp of the last update to the plan.
Indicates whether the plan is featured or not.
A numeric value representing the plan’s superiority or ranking compared to other plans.
The configuration object for the plan. See PlanConfig Object for more details on the properties of this object.
An array of features included in the plan. This array may be empty if no specific features are defined.
Was this page helpful?