Server IP : 162.0.217.223 / Your IP : 216.73.216.168 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/backup/msckey.com/wp-content/plugins/wp-table-builder/inc/core/ |
Upload File : |
<?php namespace WP_Table_Builder\Inc\Core; /** * Fired during plugin activation * * This class defines all code necessary to run during the plugin's activation. * * @link http://wptablebuilder.com/ * @since 1.0.0 * * @author Imtiaz Rayhan **/ class Activator { /** * Short Description. * * Long Description. * * @since 1.0.0 */ public static function activate() { $min_php = '5.6.0'; // Check PHP Version and deactivate & die if it doesn't meet minimum requirements. if ( version_compare( PHP_VERSION, $min_php, '<' ) ) { deactivate_plugins( plugin_basename( __FILE__ ) ); wp_die( 'WP Table Builder requires a minmum PHP Version of ' . $min_php ); } set_transient( '_welcome_redirect_wptb', true, 60 ); // Adds the option to check if user is notified for review. add_option( 'wptb_review_notify', 'no' ); } }