AnsPress_Upgrader::check_old_meta_table_exists()
Description #
Check if old ap_meta table exists.
Source #
File: lib/class-anspress-upgrader.php
public function check_old_meta_table_exists() { global $wpdb; $table_name = $wpdb->get_var( "SHOW TABLES LIKE '{$wpdb->prefix}ap_meta'" ); // phpcs:ignore WordPress.DB if ( $wpdb->prefix . 'ap_meta' === $table_name ) { $this->meta_table_exists = true; } }
Expand full source code Collapse full source code View on GitHub: lib/class-anspress-upgrader.php:94
Add your comment