hrb_get_addons( $type = '' )
Retrieve all addons or a specific type.
Package
Description #Description
Related #Related
Uses #Uses
Uses | Description |
---|---|
includes/addons.php: hrb_project_addons() | Retrieves all addons related with projects. |
includes/addons.php: hrb_proposal_addons() | Retrieves all addons related with proposals. |
Used By #Used By
Used By | Description |
---|---|
includes/forms-purchase.php: HRB_Select_Plan_New::get_posted_addons() | Retrieves selected/included addons |
includes/forms-purchase.php: HRB_Select_Plan_New::clear_order_addons() | Clears all addons from an Order to avoid duplicate items when a user updates the addons selection |
includes/addons.php: _hrb_project_addon_defaults() | Retrieves all available addons with default values. |
includes/addons.php: hrb_addons_available() | Retrieves TRUE if there are addons avaialble for selection (included or optional), FALSE otherwise. |
includes/addons.php: hrb_item_is_addon_or_related() | Checks if an item is an addon an retrieves the boolean comparison. |
includes/addons.php: hrb_prune_expired_addons() | Prunes expired addons. |
includes/template-tags-projects.php: get_the_hrb_project_addons() | Retrieves the addons list and their meta values for a project. |
includes/activate.php: _hrb_activate_addons() | Activates the addons for an Order by updating the purchased post meta with their durations. |
includes/admin/addons.php: hrb_get_addons_Settings_Tab::init() | |
includes/admin/addons.php: hrb_get_addons_Settings_Tab::render() | |
includes/admin/project-plans.php: HRB_Pricing_Addon_Box::form_fields() | |
includes/admin/project-plans.php: HRB_Pricing_Addon_Box::before_save() | |
includes/admin/project-plans.php: HRB_Pricing_Addon_Box::validate_post_data() | |
includes/admin/project-single.php: HRB_Project_Promotional_Meta::before_display() | |
includes/admin/project-single.php: HRB_Project_Promotional_Meta::before_form() | |
includes/admin/project-single.php: HRB_Project_Promotional_Meta::form_fields() | |
includes/admin/project-single.php: HRB_Project_Promotional_Meta::before_save() |