-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmihdan-index-now.php
44 lines (35 loc) · 1.6 KB
/
mihdan-index-now.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* Plugin Name: CrawlWP SEO - Instant Indexing & SEO Insights
* Description: SEO plugin for indexing WordPress content and monitoring search engine performance.
* Version: 3.0.2
* Author: CrawlWP SEO Team
* Author URI: https://crawlwp.com/
* Plugin URI: https://crawlwp.com/
* Requires PHP: 7.4
* Requires at least: 5.9
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
namespace Mihdan\IndexNow;
use \Mihdan\IndexNow\Dependencies\Auryn\Injector;
if ( ! defined('ABSPATH')) {
exit;
}
require_once __DIR__ . '/vendor-prefixed/autoload.php';
define('MIHDAN_INDEX_NOW_VERSION', '3.0.2');
define('MIHDAN_INDEX_NOW_SLUG', 'mihdan-index-now');
define('MIHDAN_INDEX_NOW_PREFIX', 'mihdan_index_now');
define('MIHDAN_INDEX_NOW_NAME', 'CrawlWP');
define('MIHDAN_INDEX_NOW_FILE', __FILE__);
define('MIHDAN_INDEX_NOW_DIR', __DIR__);
define('MIHDAN_INDEX_NOW_BASENAME', plugin_basename(__FILE__));
define('MIHDAN_INDEX_NOW_URL', plugin_dir_url(__FILE__));
define('MIHDAN_INDEX_NOW_SETTINGS_URL', admin_url('admin.php?page=' . MIHDAN_INDEX_NOW_SLUG));
define('MIHDAN_INDEX_NOW_API_SETTINGS_URL', add_query_arg(['wposa-menu' => Utils::get_plugin_prefix() . '_api_settings'], MIHDAN_INDEX_NOW_SETTINGS_URL));
define('CRAWLWP_PRO_SEO_INDEX_SLUG', 'mihdan-seo-index');
define('CRAWLWP_PRO_SEO_STAT_SLUG', 'mihdan-seo-stats');
define('CRAWLWP_PRO_AUTO_INDEX_PAGE', admin_url('admin.php?page=' . CRAWLWP_PRO_SEO_INDEX_SLUG));
define('CRAWLWP_PRO_SEO_STAT_PAGE', admin_url('admin.php?page=' . CRAWLWP_PRO_SEO_STAT_SLUG));
do_action('crawlwp_lite_pre_init');
(new Main(new Injector()))->init();