Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change 'Choose your Payment Method' in Paid Memberships Pro
* This code is used to change 'Choose your Payment Method' text in Paid Memberships Pro.
* Add the function into your PMPro Customizations plugin -
function change_choose_your_payment( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Choose your Payment Method' :
$translated_text = __( 'Change this text', 'pmpro' );
case 'Payment Information' :
$translated_text = __( 'Change this text too', 'pmpro' );
return $translated_text;
add_filter( 'gettext', 'theme_change_comment_field_names', 20, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment