Hi @grille01,
Thank you for making this support request. Our developers have introduced a filter which will allow you to set a custom Form submission success message. I just tested this out by placing the sample code in my theme functions.php file.
Here is some sample code that would work for this. You should replace the text Your message was sent. with your desired message.
/**
* Set a custom success message on successful form submission
*
* @return string Form submission success message
*/
function coblocks_form_sent_message() {
return __( 'Your message was sent.', 'textdomain' );
}
add_filter( 'coblocks_form_sent_notice', 'coblocks_form_sent_message' );
Best regards,
Anthony
can i put it any where in the Function.php
@shady123456789
For readability, I recommend grouping filter registrations at the very top of your functions.php file. It might fruitful to check for other filters in functions.php and place your custom code near those. Hope this helps.
Best,
Anthony
Thank you very much Anthony,
Problem solved!