PluginProbe
Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO / 3.0.4
Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO v3.0.4
3.0.4 3.0.3 3.0.2 3.0.1 trunk 1.2.0 1.2.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 All 35 releases
review-schema / review-schema.php

review-schema.php in Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO 3.0.4, at review-schema.php

55 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @wordpress-plugin
4 * Plugin Name: Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO
5 * Plugin URI: https://wordpress.org/plugins/review-schema/
6 * Description: AI-Powered schema markup plugin for WordPress. Generate JSON-LD schema and FAQs, validate Rich Results, and audit your structured data.
7 * Version: 3.0.4
8 * Author: RadiusTheme
9 * Author URI: https://radiustheme.com
10 * Text Domain: review-schema
11 * Domain Path: /languages
12 * License: GPLv3
13 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
14 */
15
16 if ( ! defined( 'ABSPATH' ) ) {
17 exit;
18 }
19
20 // Define PLUGIN_FILE.
21 if ( ! defined( 'RTRS_PLUGIN_FILE' ) ) {
22 define( 'RTRS_PLUGIN_FILE', __FILE__ );
23 }
24
25 // Define VERSION.
26 if ( ! defined( 'RTRS_VERSION' ) ) {
27 define( 'RTRS_VERSION', '3.0.4' );
28 }
29
30 if ( ! defined( 'RTRS_PATH' ) ) {
31 define( 'RTRS_PATH', plugin_dir_path( __FILE__ ) );
32 }
33
34 require_once RTRS_PATH . 'vendor/autoload.php';
35
36 // Clear AI batch cron on deactivation.
37 register_deactivation_hook(
38 __FILE__,
39 function () {
40 wp_clear_scheduled_hook( 'rtrs_ai_batch_generate' );
41 delete_option( '_rtrs_ai_batch_progress' );
42 delete_option( '_rtrs_ai_batch_done' );
43 }
44 );
45 use Rtrs\Rtrs;
46 /**
47 * Rivew Schema
48 *
49 * @return bool|SingletonTrait|Rtrs
50 */
51 function rtrs() {
52 return Rtrs::getInstance();
53 }
54 rtrs(); // Run Rtrs Plugin.
55