/home/desid573/verdenaturopathy.com.au/site3/wp-content/plugins/meta-box/inc
NameSizeModeActions
about/-0755rm
fields/-0777rm
helpers/-0777rm
interfaces/-0777rm
storages/-0777rm
templates/-0777rm
update/-0777rm
walkers/-0777rm
autoloader.php18730644editdlrm
clone.php37550644editdlrm
core.php30830644editdlrm
field-registry.php18620644editdlrm
field.php183420644editdlrm
functions.php108570644editdlrm
loader.php39220644editdlrm
media-modal.php34220644editdlrm
meta-box-registry.php17610644editdlrm
meta-box.php133030644editdlrm
request.php25070644editdlrm
sanitizer.php89600644editdlrm
storage-registry.php5450644editdlrm
validation.php12300644editdlrm
wpml.php37090644editdlrm
Edit: /home/desid573/verdenaturopathy.com.au/site3/wp-content/plugins/meta-box/inc/autoloader.php (1873B)
dirs[] = array( 'dir' => trailingslashit( $dir ), 'prefix' => $prefix, 'suffix' => $suffix, ); } /** * Register autoloader for plugin classes. */ public function register() { spl_autoload_register( array( $this, 'autoload' ) ); } /** * Autoload classes. * * @param string $class Class name. */ public function autoload( $class ) { foreach ( $this->dirs as $dir ) { if ( ( $dir['prefix'] && 0 !== strpos( $class, $dir['prefix'] ) ) || ( $dir['suffix'] && substr( $class, - strlen( $dir['suffix'] ) ) !== $dir['suffix'] ) ) { continue; } $file = substr( $class, strlen( $dir['prefix'] ) ); if ( $dir['suffix'] && strlen( $file ) > strlen( $dir['suffix'] ) ) { $file = substr( $file, 0, - strlen( $dir['suffix'] ) ); } if ( function_exists( 'mb_strtolower' ) && function_exists( 'mb_detect_encoding' ) ) { $file = mb_strtolower( str_replace( '_', '-', $file ), mb_detect_encoding( $file ) ) . '.php'; } else { $file = strtolower( str_replace( '_', '-', $file ) ) . '.php'; } $file = $dir['dir'] . $file; $this->require_file( $file ); } } /** * If a file exists, require it from the file system. * * @param string $file The file to require. */ protected function require_file( $file ) { if ( file_exists( $file ) ) { require_once $file; } } }