Support » Plugin: Page Builder Gutenberg Blocks – CoBlocks » Contact Form Message

  • Hi, does anyone know how to change the message that appears after pressing the submit button on the contact form?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Anthony Ledesma


    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,


    can i put it any where in the Function.php

    Plugin Author Anthony Ledesma



    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.



    Thank you very much Anthony,

    Problem solved!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Contact Form Message’ is closed to new replies.