Set_Up_Automator::automator_configuration_complete_func()
Once Automator configure is completed
Source
File: src/core/classes/class-set-up-automator.php
public function automator_configuration_complete_func() { // Loads integrations try { $this->initialize_add_integrations(); } catch ( Exception $e ) { throw new Automator_Exception( $e->getMessage() ); } //Let others hook in and add integrations do_action_deprecated( 'uncanny_automator_add_recipe_type', array(), '3.0', 'automator_add_recipe_type' ); do_action( 'automator_add_recipe_type' ); //Let others hook in and add integrations do_action_deprecated( 'uncanny_automator_add_integration', array(), '3.0', 'automator_add_integration' ); do_action( 'automator_add_integration' ); //Let others hook in to the directories and add their integration's actions / triggers etc self::$auto_loaded_directories = apply_filters_deprecated( 'uncanny_automator_integration_directory', array( self::$auto_loaded_directories ), '3.0', 'automator_integration_directory' ); self::$auto_loaded_directories = apply_filters( 'automator_integration_directory', self::$auto_loaded_directories ); // Loads all options and provide a hook for external options add_action( 'plugins_loaded', function () { $this->initialize_integration_helpers(); // Let others hook in and add options do_action_deprecated( 'uncanny_automator_add_integration_helpers', array(), '3.0', 'automator_add_integration_helpers' ); do_action( 'automator_add_integration_helpers' ); // Loads all internal triggers, actions, and closures then provides hooks for external ones $this->initialize_triggers_actions_closures(); // Let others hook in and add triggers actions or tokens do_action_deprecated( 'uncanny_automator_add_integration_triggers_actions_tokens', array(), '3.0', 'automator_add_integration_recipe_parts' ); do_action( 'automator_add_integration_recipe_parts' ); } ); }
Expand full source code Collapse full source code View on Github