PEEPSO_FOLLOWAUSER::__construct()

Set up Automator action constructor.


Source Source

File: src/integrations/peepso/actions/peepso-followauser.php

	public function __construct() {
		$this->action_code = 'PPFOLLOWAUSER';
		$this->action_meta = 'PPFOLLOWUSER';

		if ( is_admin() ) {
			add_action( 'wp_loaded', array( $this, 'plugins_loaded' ), 99 );
		} else {
			$this->define_action();
		}
	}