| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* The plugin bootstrap file |
| 5 |
* |
| 6 |
* This file is read by WordPress to generate the plugin information in the plugin |
| 7 |
* admin area. This file also includes all of the dependencies used by the plugin, |
| 8 |
* registers the activation and deactivation functions, and defines a function |
| 9 |
* that starts the plugin. |
| 10 |
* |
| 11 |
* @link https://plugin.nl/ |
| 12 |
* @since 1.0.0 |
| 13 |
* @package Remove_Schema |
| 14 |
* |
| 15 |
* @wordpress-plugin |
| 16 |
* Plugin Name: Remove Schema |
| 17 |
* Plugin URI: https://plugin.nl/en/remove-schema-plugin/ |
| 18 |
* Description: Remove all Microdata, RDFa and/or JSON-ld that you don’t want on your page. |
| 19 |
* Version: 1.6.2 |
| 20 |
* Author: Plugin.nl |
| 21 |
* Author URI: https://plugin.nl/en/remove-schema-plugin/ |
| 22 |
* License: GPL-2.0+ |
| 23 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 24 |
* Text Domain: remove-schema |
| 25 |
* Domain Path: /languages |
| 26 |
*/ |
| 27 |
|
| 28 |
// If this file is called directly, abort. |
| 29 |
if ( ! defined( 'WPINC' ) ) { |
| 30 |
die; |
| 31 |
} |
| 32 |
|
| 33 |
/** |
| 34 |
* Currently plugin version. |
| 35 |
*/ |
| 36 |
define( 'REMOVE_SCHEMA_VERSION', '1.6.2' ); |
| 37 |
|
| 38 |
/** |
| 39 |
* The core plugin class that is used to define internationalization, |
| 40 |
* admin-specific hooks, and public-facing site hooks. |
| 41 |
*/ |
| 42 |
require plugin_dir_path( __FILE__ ) . 'includes/class-remove-schema.php'; |
| 43 |
|
| 44 |
/** |
| 45 |
* Begins execution of the plugin. |
| 46 |
* |
| 47 |
* @since 1.0.0 |
| 48 |
*/ |
| 49 |
function run_remove_schema() { |
| 50 |
|
| 51 |
$plugin = new Remove_Schema(); |
| 52 |
$plugin->run(); |
| 53 |
|
| 54 |
} |
| 55 |
run_remove_schema(); |
| 56 |
|