# bbp-core/2.0.0/autoloader.php

Forumax – AI Powered Advanced Community Forum Plugin, version 2.0.0. 17 lines.

- Page: https://pluginprobe.com/plugins/bbp-core/2.0.0/code/autoloader.php
- Raw: https://pluginprobe.com/plugins/bbp-core/2.0.0/raw/autoloader.php
- Modified: 2026-01-01T11:09:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bbp-core/2.0.0/code/autoloader.php#L10-L20`.

```php
<?php
spl_autoload_register( 'forumax_autoloader' );

/**
 * Autoload files for the plugin
 *
 * @param string $class
 * @return void
 */
function forumax_autoloader( $class ) {
	$path = __DIR__ . '/includes/' . str_replace( '\\', '/', $class ) . '.php';

	if ( file_exists( $path ) ) {
		include_once $path;
	}
}

```
