APP_Listing_Current_Plan_Decorator

A Current Plan object decorator class.


Package


Description Description

This decorator makes plan object behave as already purchased and activated. It uses reference to listing item for getting some plan options instead of using own meta data.

Current plan cannot be applied to order or activated as regular plan, since supposed, that plan already activated. But it allows to upgrade plan by purchasing additional items (i.e. Addons)

Also Current Plan object could be used to get plan properties directly applied to listing item. (For example, plan duration will be retrieved from listing item meta instead of using specified plan option).



Top ↑

Methods Methods

Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.