forked from elightup/slim-seo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslim-seo.php
More file actions
34 lines (26 loc) · 987 Bytes
/
slim-seo.php
File metadata and controls
34 lines (26 loc) · 987 Bytes
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
<?php
/**
* Plugin Name: Slim SEO
* Plugin URI: https://wpslimseo.com
* Description: A fast and automated SEO plugin for WordPress.
* Author: eLightUp
* Author URI: https://elightup.com
* Version: 3.15.2
* Text Domain: slim-seo
* Domain Path: /languages
*/
namespace SlimSEO;
defined( 'ABSPATH' ) || die;
define( 'SLIM_SEO_FILE', __FILE__ );
define( 'SLIM_SEO_DIR', plugin_dir_path( __FILE__ ) );
define( 'SLIM_SEO_URL', plugin_dir_url( __FILE__ ) );
define( 'SLIM_SEO_SLUG', sanitize_title( pathinfo( __FILE__, PATHINFO_FILENAME ) ) );
define( 'SLIM_SEO_VER', '3.15.2' );
require __DIR__ . '/vendor/autoload.php';
new Activator( __FILE__ );
new Deactivator( __FILE__ );
$slim_seo = new Plugin;
$slim_seo->register_services();
// Initialize at priority 5 to be able to disable core sitemaps completely which runs at priority 10.
add_action( 'init', [ $slim_seo, 'init' ], 5 );
load_plugin_textdomain( 'slim-seo', false, basename( __DIR__ ) . '/languages/' );