PluginProbe
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code / 2.6.3
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code v2.6.3
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 2.6.3, at copy-the-code.php

34 lines 1.3 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://github.com/maheshwaghmare/copy-the-code/
5 * Description: Copy the Text or HTML into the clipboard 📋 (clipboard). You can use it for Blockquote, Wishes, Messages, Shayari, Offer Codes, Special Symbols, Code Snippets, Hidden Content, Or anything which you want 🥳. Read more about <a href="https://wp.me/P4Ams0-9Sn/">Copy Anything to Clipboard</a>.
6 * Version: 2.6.3
7 * Author: Mahesh M. Waghmare
8 * Author URI: https://maheshwaghmare.com/
9 * Text Domain: copy-the-code
10 *
11 *
12 * @package Copy the Code
13 */
14
15 // Set constants.
16 define( 'COPY_THE_CODE_TITLE', esc_html__( 'Copy Anything to Clipboard', 'copy-the-code' ) );
17 define( 'COPY_THE_CODE_VER', '2.6.3' );
18 define( 'COPY_THE_CODE_FILE', __FILE__ );
19 define( 'COPY_THE_CODE_BASE', plugin_basename( COPY_THE_CODE_FILE ) );
20 define( 'COPY_THE_CODE_DIR', plugin_dir_path( COPY_THE_CODE_FILE ) );
21 define( 'COPY_THE_CODE_URI', plugins_url( '/', COPY_THE_CODE_FILE ) );
22
23 register_activation_hook( COPY_THE_CODE_FILE, 'copy_the_code_set_fresh_user' );
24
25 /**
26 * Set as fresh user?
27 */
28 function copy_the_code_set_fresh_user() {
29 update_option( 'copy_the_code_fresh_user', 'yes' );
30 }
31
32 require_once COPY_THE_CODE_DIR . 'classes/init.php';
33 require_once COPY_THE_CODE_DIR . 'classes/class-copy-the-code.php';
34