REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.41 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/metform/autoloader.php
Text
Base64
<?php namespace MetForm; defined( 'ABSPATH' ) || exit; /** * MetForm autoloader. * Handles dynamically loading classes only when needed. * * @since 1.0.0 */ class Autoloader { /** * Run autoloader. * Register a function as `__autoload()` implementation. * * @since 1.0.0 * @access public */ public static function run() { spl_autoload_register( [ __CLASS__, 'autoload' ] ); } /** * Autoload. * For a given class, check if it exist and load it. * * @since 1.0.0 * @access private * @param string $class Class name. */ private static function autoload( $class_name ) { // If the class being requested does not start with our prefix // we know it's not one in our project. if ( 0 !== strpos( $class_name, __NAMESPACE__ ) ) { return; } $file_name = strtolower( preg_replace( [ '/\b'.__NAMESPACE__.'\\\/', '/([a-z])([A-Z])/', '/_/', '/\\\/' ], [ '', '$1-$2', '-', DIRECTORY_SEPARATOR], $class_name ) ); // Compile our path from the corosponding location. $file = plugin_dir_path(__FILE__) . $file_name . '.php'; // If a file is found. if ( file_exists( $file ) ) { // Then load it up! require_once( $file ); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 10 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
base
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
build
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
controls
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
core
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
languages
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
public
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
templates
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
traits
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utils
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
widgets
DIR
-
drwxr-xr-x
2026-05-04 02:33:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
autoloader.php
1.41 KB
lrw-r--r--
2019-11-22 13:54:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
metform.php
1.73 KB
lrw-r--r--
2026-05-03 15:35:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
phpcs.xml
3.90 KB
lrw-r--r--
2023-09-19 10:06:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plugin.php
31.98 KB
lrw-r--r--
2026-05-03 15:35:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
readme.txt
27.12 KB
lrw-r--r--
2026-05-03 15:35:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
webpack.config.js
374 B
lrw-r--r--
2026-05-03 15:35:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).