Twitter_Helpers::__construct()

Twitter_Helpers constructor.


Source Source

File: src/integrations/twitter/helpers/twitter-helpers.php

	public function __construct() {

		$this->load_options = Automator()->helpers->recipe->maybe_load_trigger_options( __CLASS__ );

		$this->setting_tab   = 'twitter_api';
		$this->automator_api = 'https://api.automatorplugin.com/twitter/';

		add_filter( 'automator_settings_tabs', array( $this, 'add_twitter_api_settings' ), 15 );
		add_action( 'init', array( $this, 'capture_oauth_tokens' ), 100, 3 );
		add_filter( 'automator_after_settings_extra_buttons', array( $this, 'twitter_connect_html' ), 10, 3 );

	}