LLMS_Lab_Pricing_Table_Module::__construct()

Constructor.


Return Return

(void)


Top ↑

Source Source

File: includes/beaver-builder/modules/pricing-table/class.llms.lab.pricing.table.module.php

	public function __construct() {
		parent::__construct(
			array(
				'name'          => esc_html__( 'Pricing Table', 'lifterlms' ),
				'description'   => esc_html__( 'LifterLMS Course / Membership Pricing Table', 'lifterlms' ),
				'category'      => esc_html__( 'LifterLMS Modules', 'lifterlms' ),
				'dir'           => LLMS_BB_MODULES_DIR . 'pricing-table/',
				'url'           => LLMS_BB_MODULES_URL . 'pricing-table/',
				'editor_export' => false,
				'enabled'       => true,
			)
		);

		// Ensure pricing tables always display when used within a BB module.
		add_action( 'llms_lab_bb_before_pricing_table', array( $this, 'add_force_show_table_filter' ) );
		add_action( 'lifterlms_after_access_plans', array( $this, 'remove_force_show_table_filter' ) );

		// Ensure pricing tables always display when the frontend builder is active.
		add_filter( 'llms_product_pricing_table_enrollment_status', array( $this, 'show_table' ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Escape strings.
1.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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