AnsPress_Upgrader::check_tables()
Description #
Check if tables are updated, if not create it first.
Source #
File: lib/class-anspress-upgrader.php
public function check_tables() { if ( get_option( 'anspress_db_version' ) !== AP_DB_VERSION ) { $activate = AP_Activate::get_instance(); $activate->insert_tables(); update_option( 'anspress_db_version', AP_DB_VERSION ); } }
Expand full source code Collapse full source code View on GitHub: lib/class-anspress-upgrader.php:83
Add your comment