PluginProbe
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code / 2.2.2
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code v2.2.2
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 +22 -44 4.0.32.2.2 View file →
@@ -1,44 +1,22 @@
1 -<?php
2 -/**
3 - * Plugin Name: Copy Anything to Clipboard
4 - * Plugin URI: https://clipboard.agency/
5 - * 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>.
6 - * Version: 4.0.3
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', '4.0.3' );
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 -}
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 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://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/"> on GitHub</a>.
6 + * Version: 2.2.2
7 + * Author: Mahesh M. Waghmare
8 + * Author URI: https://maheshwaghmare.wordpress.com/
9 + * Text Domain: copy-the-code
10 + *
11 + * @package Copy the Code
12 + */
13 +
14 +// Set constants.
15 +define( 'COPY_THE_CODE_TITLE', esc_html__( 'Copy Anything to Clipboard', 'copy-the-code' ) );
16 +define( 'COPY_THE_CODE_VER', '2.2.2' );
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 ) );
21 +
22 +require_once COPY_THE_CODE_DIR . 'classes/class-copy-the-code.php';