WPJM_SUBMITJOB::__construct()

Set up Automator trigger constructor.


Source Source

File: src/integrations/wp-job-manager/triggers/wpjm-submitjob.php

	public function __construct() {
		$this->trigger_code = 'WPJMSUBMITJOB';
		$this->trigger_meta = 'WPJMJOBTYPE';
		if ( is_admin() ) {
			add_action( 'init', [ $this, 'plugins_loaded' ], 19 );
		} else {
			$this->define_trigger();
		}
	}