Override default messages

Hi,

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

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?

1 Like

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

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

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

1 Like