PluginProbe
Flexmls® IDX Plugin / 3.8.2
Flexmls® IDX Plugin v3.8.2
4.0.1 4.0.0 3.18.2 trunk 0.9.0 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5 0.9.6 2.0 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 2.4 2.4.1 2.4.2 3.0.0 3.0.1 3.0.10 3.0.11 All 157 releases
flexmls-idx / Shortcodes / autoloader.php

autoloader.php in Flexmls® IDX Plugin 3.8.2, at Shortcodes/autoloader.php

14 lines 376 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) or die( 'This plugin requires WordPress' );
4
5 spl_autoload_register( function( $class ){
6 foreach( new \DirectoryIterator( __DIR__ ) as $file ){
7 if( $file->isFile() && __FILE__ !== $file->getPathname() ){
8 $class = $file->getBasename( '.php' );
9 if( false === strpos( $class, '.' ) ){
10 require_once( $file->getPathname() );
11 }
12 }
13 }
14 } );