Automator_Load::global_classes( array $classes = array() )


Parameters Parameters

$classes

(array) (Optional)

Default value: array()


Top ↑

Return Return

(array|mixed)


Source Source

File: src/class-automator-load.php

	public function global_classes( $classes = array() ) {
		/**
		 * Class autoloader.
		 */
		do_action( 'automator_before_autoloader' );

		$classes['Automator_Autoloader'] = UA_ABSPATH . 'src/core/lib/autoload/class-ua-autoloader.php';
		// $classes['A_Cron_Exceptions']    = UA_ABSPATH . 'src/core/classes/class-a-cron-exceptions.php';
		$classes['Set_Up_Automator'] = UA_ABSPATH . 'src/core/classes/class-set-up-automator.php';

		do_action( 'automator_after_autoloader' );

		return $classes;
	}