| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/forum/wp-content/plugins/copy-the-code/ |
Upload File : |
<?php
/**
* Plugin Name: Copy Anything to Clipboard
* Plugin URI: https://clipboard.agency/
* Description: Easily copy text or HTML to your clipboard 📋 with Copy Anything to Clipboard! Whether you need blockquotes, messages, wishes, shayari, offer codes, special symbols, code snippets, hidden content, or anything else, our plugin has you covered. 🥳 Discover all the possibilities with <a href="https://clipboard.agency/">Copy Anything to Clipboard</a>.
* Version: 4.1.4
* Author: Clipboard Team
* Author URI: https://clipboard.agency/
* Text Domain: copy-the-code
*
* @package Copy the Code
*
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Load Composer autoloader.
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once __DIR__ . '/vendor/autoload.php';
}
if ( function_exists( 'ctc_fs' ) ) {
ctc_fs()->set_basename( false, __FILE__ );
} else {
// Set constants.
define( 'COPY_THE_CODE_TITLE', 'Copy Anything to Clipboard' );
define( 'COPY_THE_CODE_VER', '4.1.4' );
define( 'COPY_THE_CODE_FILE', __FILE__ );
define( 'COPY_THE_CODE_BASE', plugin_basename( COPY_THE_CODE_FILE ) );
define( 'COPY_THE_CODE_DIR', plugin_dir_path( COPY_THE_CODE_FILE ) );
define( 'COPY_THE_CODE_URI', plugins_url( '/', COPY_THE_CODE_FILE ) );
define( 'COPY_THE_CODE_GUTENBERG_BLOCKS', COPY_THE_CODE_DIR . 'classes/gutenberg/' );
// DO NOT REMOVE THIS IF, IT IS ESSENTIAL FOR THE `function_exists` CALL ABOVE TO PROPERLY WORK.
if ( ! function_exists( 'ctc_fs' ) ) {
require_once COPY_THE_CODE_DIR . 'classes/init.php';
}
register_activation_hook( COPY_THE_CODE_FILE, 'copy_the_code_set_fresh_user' );
// Set as fresh user?
function copy_the_code_set_fresh_user() {
update_option( 'copy_the_code_fresh_user', 'yes' );
}
require_once COPY_THE_CODE_DIR . 'classes/class-copy-the-code.php';
}