File "file_manager_advanced.php"
Full Path: /home/alforbsx/alfouadgroup.co/wp-content/plugins/file-manager-advanced/file_manager_advanced.php
File size: 1.02 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
Plugin Name: File Manager Advanced
Plugin URI: https://wordpress.org/plugins/file-manager-advanced
Description: Cpanel for files management in wordpress
Author: wpexpertsio
Version: 5.4.2
Author URI: https://wpexperts.io
License: GPLv2
**/
/**
* Loading constants
*/
require_once('constants.php');
/*
* Advanced File Manager
* Text Domain
*/
add_action('plugins_loaded', 'advanced_file_manager_load_text_domain');
function advanced_file_manager_load_text_domain()
{
$domain = dirname(plugin_basename(__FILE__));
$locale = apply_filters('plugin_locale', get_locale(), $domain);
load_textdomain($domain, trailingslashit(WP_LANG_DIR).'plugins'.'/'.$domain.'-'.$locale.'.mo');
load_plugin_textdomain($domain, false, basename(dirname(__FILE__)).'/languages/');
}
/**
* Main application
*/
if(is_admin()) {
include('application/class_fma_main.php');
new class_fma_main;
}
/**
* Shortcode class
*/
include('application/class_fma_shortcode.php');
include 'application/rest-api/class-fma-controller.php';