APP_Listing_General_Addon::activate( int $item_id )Activates addon.Package Listing, ModulesContentsDescriptionParametersRelatedUsesDescription #DescriptionParameters #Parameters$item_id (int) (Required) Listing ID.Top ↑Related #RelatedTop ↑Uses #UsesUsesUsesDescription includes/core/extra/addons/class-listing-general-addon.php: APP_Listing_General_Addon::get_type()Retrieves an addon type. includes/core/extra/addons/class-listing-general-addon.php: APP_Listing_General_Addon::get_duration()Retrieves addon duration in days. includes/addons/core.php: appthemes_remove_addon()Removes an addon from a post includes/addons/core.php: appthemes_add_addon()Creates an addon with a set duration from the current time on a post if one doesn’t already exist Adds additional time to an existing addons
Top ↑Uses #UsesUsesUsesDescription includes/core/extra/addons/class-listing-general-addon.php: APP_Listing_General_Addon::get_type()Retrieves an addon type. includes/core/extra/addons/class-listing-general-addon.php: APP_Listing_General_Addon::get_duration()Retrieves addon duration in days. includes/addons/core.php: appthemes_remove_addon()Removes an addon from a post includes/addons/core.php: appthemes_add_addon()Creates an addon with a set duration from the current time on a post if one doesn’t already exist Adds additional time to an existing addons