WC_Autoloader::__construct
The Constructor.
Метод класса: WC_Autoloader{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Autoloader = new WC_Autoloader(); $WC_Autoloader->__construct();
Код WC_Autoloader::__construct() WC Autoloader:: construct WC 10.5.2
public function __construct() {
if ( function_exists( '__autoload' ) ) {
spl_autoload_register( '__autoload' );
}
spl_autoload_register( array( $this, 'autoload' ) );
$this->include_path = untrailingslashit( plugin_dir_path( WC_PLUGIN_FILE ) ) . '/includes/';
}