| 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><pre></code> tag. Documentations and more visit <a href="https://wp.me/P4Ams0-9Sn/"> on GitHub</a>. |
| 6 |
* Version: 2.3.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.3.1' ); |
| 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'; |
| 23 |
|