APP_Listing_Addons

Listing Pricing Addons processing class


Package


Description Description

Registers and activates payments addons related to given listing type

register_addons() method is hooked the ‘after_setup_theme’ action and registers addons in the Addons module and Payments module as well. So, no need to register addons as the ‘items’ of Payments theme support.

Use _get_addons_raw() method to assign Addons to the given listing type if you’re extending this class, or use filter ‘appthemes_listing_{$type}_addons’ if you don’t.

Requires theme supports:

  • app-payments
  • app-addons

Top ↑

Methods Methods

Premium WordPress Apps