Automator_Helpers_Recipe::__construct()

Automator_Helpers_Recipe constructor.


Source Source

File: src/core/lib/helpers/class-automator-recipe-helpers.php

	public function __construct() {

		$this->field = new Automator_Helpers_Recipe_Field();

		add_action( 'automator_add_integration_helpers', array( $this, 'load_helpers_for_recipes' ) );

		if ( $this->is_edit_page() || $this->is_automator_ajax() ) {
			$this->load_helpers = true;
		}
	}