# Override default messages

**URL:** <https://www.patreondevelopers.com/t/override-default-messages/4511>\
**Category:** Wordpress Plugin\
**Created:** [June 10, 2021, 8:38am UTC](https://www.patreondevelopers.com/t/override-default-messages/4511 "2021-06-10T08:38:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matsoftware](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/matsoftware/32/1733_2.png) [@matsoftware](https://www.patreondevelopers.com/u/matsoftware)\
**Post date:** [June 10, 2021, 8:38am UTC](https://www.patreondevelopers.com/t/override-default-messages/4511/1 "2021-06-10T08:38:54Z")

</div>

Hi,

is there a way to override the default messages defined in patreon.php?

```auto
define( "PATREON_TEXT_OVER_BUTTON_15", 'To view this content, you must be a member of <b><a href="%%creator_link%%" target="_blank">%%creator%% Patreon</a></b>' );

```

We would like to discourage people to do custom pledges and invite them to pledge to a proper tier instead. If I manually change those constants, they will be removed at any plugin update. Any suggestion?

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [June 17, 2021, 12:35pm UTC](https://www.patreondevelopers.com/t/override-default-messages/4511/2 "2021-06-17T12:35:43Z")

</div>

Currently these values can be overridden only through usage of filters:

> **[Patreon WordPress Filters](https://paper.dropbox.com/doc/Patreon-WordPress-Filters-5yIOc9WglrqqvjJjNzT6f)**
>
> Using the in-built filters, you can modify the behavior of Patreon WordPress extensively, and create any kind of addon which integrates with it, or integrate Patereon WordPress to 3rd party products

When the plugin is updated for internationalization, better language support can be accommodated. Until then, filters are the way to go.

---

<div class="post-metadata">

**Author:** ![matsoftware](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/matsoftware/32/1733_2.png) [@matsoftware](https://www.patreondevelopers.com/u/matsoftware)\
**Post date:** [June 21, 2021, 9:58am UTC](https://www.patreondevelopers.com/t/override-default-messages/4511/3 "2021-06-21T09:58:35Z")

</div>

Thanks, I’ve used the `final_state_label_over_universal_button` filter and it worked.
