Active_Campaign_Settings::__construct( $helpers )

Creates the settings page


Source

File: src/integrations/active-campaign/settings/settings-active-campaign.php

	public function __construct( $helpers ) {
        $this->helpers = $helpers;
		
		// Register the tab
		$this->setup_settings();
		// The methods above load even if the tab is not selected
		if ( ! $this->is_current_page_settings() ) {
			return;
		}
		// Localize button labels.
		add_action('admin_enqueue_scripts', array($this, 'localize_button_labels'), 20 );
	}