Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1534260/task/1534260/cwd/plugins/mojo-marketplace-wp-plugin/ |
Upload File : |
<?php /** * MOJO Marketplace Plugin * * @package MojoMarketplace * @author Newfold Digital * @copyright Copyright 2023 by Newfold Digital - All rights reserved. * @license GPL-2.0-or-later * * @wordpress-plugin * Plugin Name: The MOJO Marketplace * Plugin URI: https://mojomarketplace.com * Description: This plugin adds shortcodes, widgets, and themes to your WordPress site. * Version: 1.7.9 * Tested up to: 6.3.2 * Requires at least: 5.8 * Requires PHP: 5.6 * Author: Bluehost * Author URI: https://bluehost.com * Text Domain: mojo-marketplace-wp-plugin * Domain Path: /languages * License: GPL 2.0 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html */ // Do not access file directly! if ( ! defined( 'WPINC' ) ) { die; } define( 'MM_VERSION', '1.7.9' ); define( 'MM_FILE', __FILE__ ); define( 'MM_BASE_DIR', plugin_dir_path( __FILE__ ) ); define( 'MM_BASE_URL', plugin_dir_url( __FILE__ ) ); if ( ! defined( 'NFD_HIIVE_URL' ) ) { define( 'NFD_HIIVE_URL', 'https://hiive.cloud/api' ); } global $pagenow; if ( 'plugins.php' === $pagenow ) { require dirname( __FILE__ ) . '/inc/plugin-php-compat-check.php'; $plugin_check = new Mojo_Plugin_PHP_Compat_Check( __FILE__ ); $plugin_check->min_php_version = '5.3'; $plugin_check->min_wp_version = '4.7'; $plugin_check->check_plugin_requirements(); } // Check NFD plugins require dirname( __FILE__ ) . '/inc/plugin-nfd-compat-check.php'; $nfd_plugins_check = new NFD_Plugin_Compat_Check( MM_FILE ); // Defer to Incompatible plugin, self-deactivate $nfd_plugins_check->incompatible_plugins = array( 'The Bluehost Plugin' => 'bluehost-wordpress-plugin/bluehost-wordpress-plugin.php', 'The HostGator Plugin' => 'wp-plugin-hostgator/wp-plugin-hostgator.php', 'The Web.com Plugin' => 'wp-plugin-web/wp-plugin-web.php', 'The MOJO Plugin' => 'wp-plugin-mojo/wp-plugin-mojo.php', // new mojo ); // Save val to abort loading if incompatabilities are found $pass_nfd_check = $nfd_plugins_check->check_plugin_requirements(); // Check PHP version before initializing to prevent errors if plugin is incompatible. if ( $pass_nfd_check && version_compare( PHP_VERSION, '5.3', '>=' ) ) { require dirname( __FILE__ ) . '/bootstrap.php'; }