PATH:
home
/
thebhoeo
/
public_html
/
officepoint
/
wp-content
/
plugins
/
admin-menu-editor-pro
/
includes
<?php namespace YahnisElsts\AdminMenuEditor; /** * A basic PSR-4 autoloader. */ class AmeAutoloader { protected $prefixes; /** * @param array<string,string> $namespacePrefixes */ public function __construct($namespacePrefixes) { //Ensure that each prefix ends with a backslash and each path ends //with a forward slash. $this->prefixes = array(); foreach ($namespacePrefixes as $prefix => $path) { $prefix = trim($prefix, '\\') . '\\'; $path = rtrim($path, '/\\') . '/'; $this->prefixes[$prefix] = $path; } } public function register() { spl_autoload_register([$this, 'loadClass']); } public function loadClass($class) { foreach ($this->prefixes as $prefix => $baseDirectory) { //Does the full class name start with this namespace prefix? $len = strlen($prefix); if ( strncmp($prefix, $class, $len) !== 0 ) { continue; } $relativeClassName = substr($class, $len); //Replace the prefix with the base directory, replace namespace separators //with directory separators, and append the ".php" extension. $fileName = $baseDirectory . str_replace('\\', '/', $relativeClassName) . '.php'; if ( file_exists($fileName) ) { require $fileName; return; } } } }
[-] actors.php
[edit]
[+]
PHP-CSS-Parser
[-] menu-editor-core.php
[edit]
[-] admin-menu-editor-mu.php
[edit]
[-] generate-menu-dashicons.php
[edit]
[-] consistency-check.php
[edit]
[-] bbpress-role-override.php
[edit]
[+]
wp-dependency-wrapper
[-] menu.php
[edit]
[-] menu-item.php
[edit]
[-] ame-option.php
[edit]
[+]
capabilities
[-] role-utils.php
[edit]
[-] shortcodes.php
[edit]
[-] cap-suggestion-box.php
[edit]
[+]
ajax-wrapper-v2
[-] AmeAutoloader.php
[edit]
[-] persistent-module.php
[edit]
[-] .htaccess
[edit]
[-] module.php
[edit]
[+]
..
[-] test-access-screen.php
[edit]
[-] shadow_plugin_framework.php
[edit]
[-] reflection-callable.php
[edit]
[-] ame-utils.php
[edit]
[-] settings-page.php
[edit]
[-] access-test-runner.php
[edit]
[-] version-conflict-check.php
[edit]
[-] auto-versioning.php
[edit]
[-] basic-dependencies.php
[edit]
[-] editor-page.php
[edit]