Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /opt/wp/plugins/bluehost-wordpress-plugin/inc/upgrades/ |
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' );