Function.php in Pro Theme

Hi, I tried to modify the functions.php file and it ended up with errors, and the worst part is that I didn’t save a backup. What can I do?
Thanks

Hello @redgreen,

Thanks for writing to us.

If you have edited the functions.php file, you can use FTP or cPanel to go to the wp-content/theme/ directory and remove the edited code. Or, go to the WordPress installation root directory and enable define( 'WP_DEBUG', true ); in the wp-config.php file. This will display the error with the line number, and you can then go to that specific line and fix the issue.

If you have not made many changes and do not have a backup of your functions.php file, go to the Themeco account dashboard, download the latest version of the Pro theme, and reinstall it. If you have edited the child theme, you can download a fresh copy of the child theme and reinstall it using FTP or cPanel. Please note that we do not provide custom development support, as it is outside our support scope. If you need customization support, please contact a developer who can assist with your concerns, or subscribe to One, where customization questions are answered.

Thanks for understanding