PHP Customization - redirect after submit property
1 minute read
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:
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.
Ask the people who build MyHome WPBakery
We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.
We can also run your site for you, or build a new one.
Was this guide helpful?