$value) { $post_types_fixed[sanitize_key( $stored_key )] = $value; } // Rename option to make it consistent to other plugin options update_option('advset_post_types', $post_types_fixed); delete_option('adv_post_types'); } require_once dirname(__DIR__) . '/class.tracksettings.php'; Advanced_Settings_Track_Settings::get_instance()->send_if_consent_exists();