Tribe__Autoloader::autoload( string $class )

Includes the file defining a class.

This is the function that’s registered as an autoloader.


Parameters

$class

(string) (Required)


Top ↑

Source

File: src/Tribe/Autoloader.php

			public function autoload( $class ) {
				$include_path = $this->get_class_path( $class );
				if ( ! empty( $include_path ) ) {
					include_once( $include_path );
				}
			}