Downgrading to the version before
How to Downgrade a WordPress Plugin (with WP Rollback)
From your WordPress dashboard, click on Plugins > Add New.
Type ‘WP Rollback’ in the search field.
Click on Install Now next to the corresponding plugin and Activate.
Under Installed Plugins, click on Rollback next to the plugin you want to downgrade.
Same… Downgrading to the version before
Can you share the code, please….