OPTINMONSTER_SHOW_CAMPAIGN::setup_action()

Setup Action.


Return Return

(Uncanny_Automatorvoid.)


Source Source

File: src/integrations/optinmonster/actions/optinmonster-show-campaign.php

	protected function setup_action() {

		$this->set_integration( 'OPTINMONSTER' );
		$this->set_action_code( 'SHOW_CAMPAIGN' );
		$this->set_action_meta( 'CAMPAIGN' );
		$this->set_is_pro( false );
		$this->set_requires_user( false );

		/* translators: Action - WordPress */
		$this->set_sentence( sprintf( esc_attr__( 'Show {{a campaign:%1$s}}', 'uncanny-automator' ), $this->get_action_meta() ) );

		/* translators: Action - WordPress */
		$this->set_readable_sentence( esc_attr__( 'Show {{a campaign}}', 'uncanny-automator' ) );

		$this->set_options_callback( array( $this, 'load_options' ) );

		$this->register_action();

	}