| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Copy the Code |
| 4 |
* Plugin URI: https://github.com/maheshwaghmare/copy-the-code/ |
| 5 |
* Description: Copy the code into 📋 (clipboard). Default support added for <code><pre></code> tag. Documentations and more visit <a href="https://github.com/maheshwaghmare/copy-the-code/"> on GitHub</a>. |
| 6 |
* Version: 1.0.0 |
| 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 |
/** |
| 15 |
* Set constants. |
| 16 |
*/ |
| 17 |
define( 'COPY_THE_CODE_VER', '1.0.0' ); |
| 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 |
require_once COPY_THE_CODE_DIR . 'classes/class-copy-the-code.php'; |