-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathstrong-testimonials.php
73 lines (65 loc) · 2.98 KB
/
strong-testimonials.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/**
* Plugin Name: Strong Testimonials
* Plugin URI: https://strongtestimonials.com
* Description: Collect and display your testimonials or reviews.
* Author: WPChill
* Author URI: https://wpchill.com/
* Version: 3.2.3
* Text Domain: strong-testimonials
* Domain Path: /languages
* Requires: 4.6 or higher
* License: GPLv3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Requires PHP: 5.6
*
* Copyright 2014-2019 Chris Dillon [email protected]
* Copyright 2019-2020 MachoThemes [email protected]
* Copyright 2020 WPChill [email protected]
*
* Original Plugin URI: https://strongplugins.com/plugins/strong-testimonials
* Original Author URI: https://strongplugins.com
* Original Author: https://profiles.wordpress.org/cdillon27/
*
* NOTE:
* Chris Dillon ownership rights were ceased on: 01/20/2019 06:52:23 PM when ownership was turned over to MachoThemes
* MachoThemes ownership started on: 01/20/2019 06:52:24 PM
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'WPMTST_VERSION', '3.2.3' );
define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
define( 'WPMTST_LOGS', wp_upload_dir()['basedir'] . '/st-logs/' );
defined( 'WPMTST_STORE_URL' ) || define( 'WPMTST_STORE_URL', 'https://strongtestimonials.com/' );
defined( 'WPMTST_ALT_STORE_URL' ) || define( 'WPMTST_ALT_STORE_URL', 'https://license.wpchill.com/strongtestimonials/' );
defined( 'WPMTST_STORE_UPGRADE_URL' ) || define( 'WPMTST_STORE_UPGRADE_URL', 'https://strongtestimonials.com/pricing' );
if ( ! class_exists( 'Strong_Testimonials' ) ) {
require_once plugin_dir_path( __FILE__ ) . 'class-strong-testimonials.php';
}
register_activation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_activation' ) );
register_deactivation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_deactivation' ) );
add_action( 'wp_initialize_site', array( 'Strong_Testimonials', 'mu_new_blog' ), 10 );
// phpcs:disable WordPress.NamingConventions.ValidFunctionName
function WPMST() {
return Strong_Testimonials::instance();
}
// phpcs:enable WordPress.NamingConventions.ValidFunctionName
// Get plugin running.
WPMST();