if ( isset( $_GET['ChangeDomain'] ) && $_GET['ChangeDomain'] == 1 ) {
//kws_change_domain::ChangeDomain();
}
class kws_change_domain {
const OldDomain = 'Gabius.net';
const NewDomain = 'gabius.ru';
public static function ChangeDomain() {
global $wpdb;
$tables = $wpdb->get_results( 'SHOW TABLES', ARRAY_N );
foreach ( $tables as
(
Read more... )