| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: GDPRess |
| 4 |
* Plugin URI: https://wordpress.org/plugins/gdpr-press/ |
| 5 |
* Description: Easily eliminate external requests with GDPRess. |
| 6 |
* Version: 1.3.0 |
| 7 |
* Author: Daan from Daan.dev |
| 8 |
* Author URI: https://daan.dev |
| 9 |
* License: GPL2v2 or later |
| 10 |
* Text Domain: gdpr-press |
| 11 |
*/ |
| 12 |
|
| 13 |
defined( 'ABSPATH' ) || exit; |
| 14 |
|
| 15 |
define( 'GDPRESS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); |
| 16 |
define( 'GDPRESS_PLUGIN_FILE', __FILE__ ); |
| 17 |
define( 'GDPRESS_PLUGIN_BASENAME', plugin_basename( GDPRESS_PLUGIN_FILE ) ); |
| 18 |
define( 'GDPRESS_STATIC_VERSION', '1.2.0' ); |
| 19 |
define( 'GDPRESS_DB_VERSION', '1.0.2' ); |
| 20 |
|
| 21 |
/** |
| 22 |
* Takes care of loading classes on demand. |
| 23 |
* |
| 24 |
* @param $class |
| 25 |
* |
| 26 |
* @return mixed|void |
| 27 |
*/ |
| 28 |
require_once GDPRESS_PLUGIN_DIR . 'vendor/autoload.php'; |
| 29 |
|
| 30 |
/** |
| 31 |
* All systems GO!!! |
| 32 |
* |
| 33 |
* @return GDPRess\Plugin |
| 34 |
*/ |
| 35 |
$gdpress = new GDPRess\Plugin(); |
| 36 |
|