Set_Up_Automator::automator_configure()

Hook Here


Source Source

File: src/core/classes/class-set-up-automator.php

	public function automator_configure() {

		// Add all extensions --- hook here to add your own triggers and actions
		do_action( 'automator_configure' );
		// Sets all trigger, actions, and closure classes directories for spl autoloader
		//$integrations = get_transient( 'automator_integration_directories_loaded' );
		$integrations = array();
		if ( empty( $integrations ) ) {
			self::$auto_loaded_directories = $this->get_integrations_autoload_directories();
			set_transient( 'automator_integration_directories_loaded', self::$auto_loaded_directories, 5 * MINUTE_IN_SECONDS );
		} else {
			self::$auto_loaded_directories = $integrations;
		}
		// Loads all internal triggers, actions, and closures then provides hooks for external ones
		// All extensions are loaded.
		do_action( 'automator_configuration_complete' );
	}