# How to edit the Warning notification text?

**URL:** <https://talk.wpcerber.com/t/how-to-edit-the-warning-notification-text/220>\
**Category:** Configuring WP Cerber\
**Created:** [August 28, 2024, 7:29pm UTC](https://talk.wpcerber.com/t/how-to-edit-the-warning-notification-text/220 "2024-08-28T19:29:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andre](https://talk.wpcerber.com/letter_avatar_proxy/v4/letter/a/6de8d8/32.png) [@andre](https://talk.wpcerber.com/u/andre)\
**Post date:** [August 28, 2024, 7:29pm UTC](https://talk.wpcerber.com/t/how-to-edit-the-warning-notification-text/220/1 "2024-08-28T19:29:43Z")

</div>

Hi guys, do you have any idea how I can edit the text/image warning message - the one that visitors are getting when they try to submit a form but they get blocked ?

I mainly want to be able to add some more information about how the visitor can contact me in case he was blocked by error.

 ![Screenshot_6](https://talk.wpcerber.com/uploads/default/original/1X/7909f9271e462a1756e114445539636e013403fd.png)

---

<div class="post-metadata">

**Author:** ![gioni](https://talk.wpcerber.com/user_avatar/talk.wpcerber.com/gioni/32/54_2.png) [@gioni](https://talk.wpcerber.com/u/gioni)\
**Post date:** [November 29, 2024, 5:06pm UTC](https://talk.wpcerber.com/t/how-to-edit-the-warning-notification-text/220/2 "2024-11-29T17:06:19Z")

</div>

Currently, there is no convenient way to achieve this. We plan to implement it as a message editing feature soon. In the meantime, you can use a workaround by leveraging an additional PHP hook that takes advantage of WordPress localization and allows to modify the original phrase:

```auto
/**
 * Modifies a given WP Cerber phrase.
 *
 * @param string $translated_text The translated string.
 * @param string $text The original untranslated string.
 * @param string $domain The text domain of the translation.
 * @return string
 */
function modify_wp_cerber_phrase( $translated_text, $text, $domain ) {
    // Check the original string and the text domain
    if ( 'If you believe you should be able to perform this request, please let us know.' === $text && 'wp-cerber' === $domain ) {
        return 'If you believe you should be able to perform this request, please contact us via email.'; // New phrase
    }

    return $translated_text;
}
add_filter( 'gettext', 'modify_wp_cerber_translation', 10, 3 );

```
