strong-testimonials
Last commit date
.claude
1 month ago
admin
1 day ago
assets
1 month ago
includes
1 day ago
languages
1 year ago
templates
1 week ago
SECURITY.md
1 year ago
changelog.txt
1 day ago
class-strong-testimonials.php
1 month ago
license.txt
1 year ago
readme.txt
10 hours ago
strong-testimonials.php
10 hours ago
uninstall.php
1 year ago
webpack.config.react-apps.js
1 month ago
wpml-config.xml
1 year ago
strong-testimonials.php
73 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: Strong Testimonials |
| 4 | * Plugin URI: https://strongtestimonials.com |
| 5 | * Description: Collect and display your testimonials or reviews. |
| 6 | * Author: WPChill |
| 7 | * Author URI: https://wpchill.com/ |
| 8 | * Version: 3.3.2 |
| 9 | * Text Domain: strong-testimonials |
| 10 | * Domain Path: /languages |
| 11 | * Requires: 4.6 or higher |
| 12 | * License: GPLv3 or later |
| 13 | * License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| 14 | * Requires PHP: 5.6 |
| 15 | * |
| 16 | * Copyright 2014-2019 Chris Dillon chris@strongwp.com |
| 17 | * Copyright 2019-2020 MachoThemes office@machothemes.com |
| 18 | * Copyright 2020 WPChill heyyy@wpchill.com |
| 19 | * |
| 20 | * Original Plugin URI: https://strongplugins.com/plugins/strong-testimonials |
| 21 | * Original Author URI: https://strongplugins.com |
| 22 | * |
| 23 | * NOTE: |
| 24 | * Chris Dillon ownership rights were ceased on: 01/20/2019 06:52:23 PM when ownership was turned over to MachoThemes |
| 25 | * MachoThemes ownership started on: 01/20/2019 06:52:24 PM |
| 26 | * |
| 27 | * This program is free software; you can redistribute it and/or modify |
| 28 | * it under the terms of the GNU General Public License as published by |
| 29 | * the Free Software Foundation; either version 3 of the License, or |
| 30 | * (at your option) any later version. |
| 31 | * |
| 32 | * This program is distributed in the hope that it will be useful, |
| 33 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 34 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 35 | * GNU General Public License for more details. |
| 36 | * |
| 37 | * You should have received a copy of the GNU General Public License |
| 38 | * along with this program; if not, write to the Free Software |
| 39 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 40 | */ |
| 41 | |
| 42 | // Exit if accessed directly |
| 43 | if ( ! defined( 'ABSPATH' ) ) { |
| 44 | exit; |
| 45 | } |
| 46 | |
| 47 | define( 'WPMTST_VERSION', '3.3.2' ); |
| 48 | |
| 49 | define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php |
| 50 | define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials |
| 51 | define( 'WPMTST_LOGS', wp_upload_dir()['basedir'] . '/st-logs/' ); |
| 52 | defined( 'WPMTST_STORE_URL' ) || define( 'WPMTST_STORE_URL', 'https://strongtestimonials.com/' ); |
| 53 | defined( 'WPMTST_ALT_STORE_URL' ) || define( 'WPMTST_ALT_STORE_URL', 'https://license.wpchill.com/strongtestimonials' ); |
| 54 | defined( 'WPMTST_STORE_UPGRADE_URL' ) || define( 'WPMTST_STORE_UPGRADE_URL', 'https://strongtestimonials.com/pricing' ); |
| 55 | |
| 56 | if ( ! class_exists( 'Strong_Testimonials' ) ) { |
| 57 | require_once plugin_dir_path( __FILE__ ) . 'class-strong-testimonials.php'; |
| 58 | } |
| 59 | |
| 60 | register_activation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_activation' ) ); |
| 61 | register_deactivation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_deactivation' ) ); |
| 62 | |
| 63 | add_action( 'wp_initialize_site', array( 'Strong_Testimonials', 'mu_new_blog' ), 10 ); |
| 64 | |
| 65 | // phpcs:disable WordPress.NamingConventions.ValidFunctionName |
| 66 | function WPMST() { |
| 67 | return Strong_Testimonials::instance(); |
| 68 | } |
| 69 | // phpcs:enable WordPress.NamingConventions.ValidFunctionName |
| 70 | |
| 71 | // Get plugin running. |
| 72 | WPMST(); |
| 73 |