This PHP code redirects user after submitting the property form.


 


Info: You need to disable this option: 


 



add_filter('myhome_panel_after_save_property_redirect', function() {
return 'https://example.com';
});


 


Change https://example.com to your link.


Please use this code in your Child Theme functions.php . You can read more about Child Themes here: 


How to use Child Theme? How to change files (php / css / js) and keep theme future update compatibility? 


 


Open theme editor in your Wp-Admin (make sure you have selected MyHome Child to edit)



3. Paste this code at the bottom on file functions.php and hit Update file.