PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.2.0
Forumax – AI Powered Advanced Community Forum Plugin v2.2.0
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 2.1.0 All 29 releases
← All changes | autoloader.php +3 -3 1.4.12.2.0 View file →
@@ -1,6 +1,6 @@
1 1 <?php
2 -spl_autoload_register( 'bbp_core_autoloader' );
2 +spl_autoload_register( 'forumax_autoloader' );
3 3
4 4 /**
5 5 * Autoload files for the plugin
6 6 *
@@ -6,11 +6,11 @@
6 6 *
7 7 * @param string $class
8 8 * @return void
9 9 */
10 -function bbp_core_autoloader( $class ) {
10 +function forumax_autoloader( $class ) {
11 11 $path = __DIR__ . '/includes/' . str_replace( '\\', '/', $class ) . '.php';
12 12
13 13 if ( file_exists( $path ) ) {
14 14 include_once $path;
15 15 }
16 -}
16 +}