PluginProbe
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code / 1.7.3
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code v1.7.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
← All changes | copy-the-code.php +13 -33 3.3.01.7.3 View file →
@@ -1,42 +1,22 @@
1 1 <?php
2 2 /**
3 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.3.0
7 - * Author: Clipboard Team
8 - * Author URI: https://clipboard.agency/
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 code snippets, special symbols, discount codes, or anything which you want. By default it add the copy to clipboard button to the <code>&lt;pre&gt;</code> tag. Documentations and more visit <a href="https://github.com/maheshwaghmare/copy-the-code/"> on GitHub</a>.
6 + * Version: 1.7.3
7 + * Author: Mahesh M. Waghmare
8 + * Author URI: https://maheshwaghmare.wordpress.com/
9 9 * Text Domain: copy-the-code
10 10 *
11 11 * @package Copy the Code
12 12 */
13 13
14 -if ( ! defined( 'ABSPATH' ) ) {
15 - exit;
16 -}
14 +// Set constants.
15 +define( 'COPY_THE_CODE_TITLE', esc_html__( 'Copy Anything to Clipboard', 'copy-the-code' ) );
16 +define( 'COPY_THE_CODE_VER', '1.7.3' );
17 +define( 'COPY_THE_CODE_FILE', __FILE__ );
18 +define( 'COPY_THE_CODE_BASE', plugin_basename( COPY_THE_CODE_FILE ) );
19 +define( 'COPY_THE_CODE_DIR', plugin_dir_path( COPY_THE_CODE_FILE ) );
20 +define( 'COPY_THE_CODE_URI', plugins_url( '/', COPY_THE_CODE_FILE ) );
17 21
18 -if ( function_exists( 'ctc_fs' ) ) {
19 - ctc_fs()->set_basename( false, __FILE__ );
20 -} else {
21 - // Set constants.
22 - define( 'COPY_THE_CODE_TITLE', esc_html__( 'Copy Anything to Clipboard', 'copy-the-code' ) );
23 - define( 'COPY_THE_CODE_VER', '3.3.0' );
24 - define( 'COPY_THE_CODE_FILE', __FILE__ );
25 - define( 'COPY_THE_CODE_BASE', plugin_basename( COPY_THE_CODE_FILE ) );
26 - define( 'COPY_THE_CODE_DIR', plugin_dir_path( COPY_THE_CODE_FILE ) );
27 - define( 'COPY_THE_CODE_URI', plugins_url( '/', COPY_THE_CODE_FILE ) );
28 -
29 - // DO NOT REMOVE THIS IF, IT IS ESSENTIAL FOR THE `function_exists` CALL ABOVE TO PROPERLY WORK.
30 - if ( ! function_exists( 'ctc_fs' ) ) {
31 - require_once COPY_THE_CODE_DIR . 'classes/init.php';
32 - }
33 -
34 - register_activation_hook( COPY_THE_CODE_FILE, 'copy_the_code_set_fresh_user' );
35 -
36 - // Set as fresh user?
37 - function copy_the_code_set_fresh_user() {
38 - update_option( 'copy_the_code_fresh_user', 'yes' );
39 - }
40 -
41 - require_once COPY_THE_CODE_DIR . 'classes/class-copy-the-code.php';
42 -}
22 +require_once COPY_THE_CODE_DIR . 'classes/class-copy-the-code.php';