create_database(); $self->saved_settings(); $self->save_option(); } public function create_database() { Database::create_initial_custom_table(); } public function saved_settings() { Settings::save_settings(); } public function save_option() { if ( get_option( ACADEMY_MULTI_INSCTUCTOR_VERSION_NAME ) !== ACADEMY_MULTI_INSCTUCTOR_VERSION ) { update_option( ACADEMY_MULTI_INSCTUCTOR_VERSION_NAME, ACADEMY_MULTI_INSCTUCTOR_VERSION ); } \Academy\Helper::flush_rewrite_rules(); } }