PluginProbe
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code / 3.8.1
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code v3.8.1
5.5.3 3.1.0 3.2.0 3.2.1 3.3.0 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.6.0 3.7.0 3.8.0 3.8.1 3.8.2 3.8.3 4.0.0 4.0.2 4.0.3 4.0.4 4.0.5 4.1.0 4.1.1 All 78 releases
copy-the-code / copy-the-code.php

copy-the-code.php in Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code 3.8.1, at copy-the-code.php

45 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Copy Anything to Clipboard
4 * Plugin URI: https://clipboard.agency/
5 * Description: Effortlessly Copy Text or HTML to Your Clipboard 📋 with Copy Anything to Clipboard. Whether it's Blockquotes, Wishes, Messages, Shayari, Offer Codes, Special Symbols, Code Snippets, Hidden Content, or anything else you desire, our plugin has you covered! 🥳 Explore the possibilities with <a href="https://clipboard.agency/">Copy Anything to Clipboard</a>.
6 * Version: 3.8.1
7 * Author: Clipboard Team
8 * Author URI: https://clipboard.agency/
9 * Text Domain: copy-the-code
10 *
11 * @package Copy the Code
12 *
13 */
14
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit;
17 }
18
19 if ( function_exists( 'ctc_fs' ) ) {
20 ctc_fs()->set_basename( false, __FILE__ );
21 } else {
22 // Set constants.
23 define( 'COPY_THE_CODE_TITLE', esc_html__( 'Copy Anything to Clipboard', 'copy-the-code' ) );
24 define( 'COPY_THE_CODE_VER', '3.8.1' );
25 define( 'COPY_THE_CODE_FILE', __FILE__ );
26 define( 'COPY_THE_CODE_BASE', plugin_basename( COPY_THE_CODE_FILE ) );
27 define( 'COPY_THE_CODE_DIR', plugin_dir_path( COPY_THE_CODE_FILE ) );
28 define( 'COPY_THE_CODE_URI', plugins_url( '/', COPY_THE_CODE_FILE ) );
29 define( 'COPY_THE_CODE_GUTENBERG_BLOCKS', COPY_THE_CODE_DIR . 'classes/gutenberg/' );
30
31 // DO NOT REMOVE THIS IF, IT IS ESSENTIAL FOR THE `function_exists` CALL ABOVE TO PROPERLY WORK.
32 if ( ! function_exists( 'ctc_fs' ) ) {
33 require_once COPY_THE_CODE_DIR . 'classes/init.php';
34 }
35
36 register_activation_hook( COPY_THE_CODE_FILE, 'copy_the_code_set_fresh_user' );
37
38 // Set as fresh user?
39 function copy_the_code_set_fresh_user() {
40 update_option( 'copy_the_code_fresh_user', 'yes' );
41 }
42
43 require_once COPY_THE_CODE_DIR . 'classes/class-copy-the-code.php';
44 }
45