-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwp-disable-sitemap.php
53 lines (47 loc) · 1.49 KB
/
wp-disable-sitemap.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
45
46
47
48
49
50
51
52
53
<?php
/**
* Plugin Name: WP Disable Sitemap
* Description: Disable default sidebar from your WordPress site
* Plugin URI: https://master-addons.com
* Author: Jewel Theme
* Version: 1.1.6.5
* Author URI: https://github.com/litonarefin/wp-disable-sitemap
* Text Domain: wp-disable
*/
// Exit if accessed directly.
if ( !defined( 'ABSPATH' ) ) {
exit;
}
if ( !function_exists( 'jltwds_fs' ) ) {
// Create a helper function for easy SDK access.
function jltwds_fs()
{
global $jltwds_fs ;
if ( !isset( $jltwds_fs ) ) {
// Include Freemius SDK.
require_once dirname( __FILE__ ) . '/lib/start.php';
$jltwds_fs = fs_dynamic_init( array(
'id' => '9810',
'slug' => 'wp-disable-sitemap',
'type' => 'plugin',
'public_key' => 'pk_41376e581386d62367da9cb2df222',
'is_premium' => false,
'has_addons' => false,
'has_paid_plans' => false,
'menu' => array(
'account' => false,
),
'is_live' => true,
) );
}
return $jltwds_fs;
}
// Init Freemius.
jltwds_fs();
// Signal that SDK was initiated.
do_action( 'jltwds_fs_loaded' );
}
if ( !class_exists( '\\JLTWDS\\JLT_WDS' ) ) {
// Instantiate WP Adminify Class
require_once dirname( __FILE__ ) . '/class-wp-disable-sitemap.php';
}