• Resolved blairsawler

    (@blairsawler)


    Hi

    I am wondering how to change the label in the radio selector when choosing the payment method (I want to change the to OFFLINE option to IN_PERSON).

    Thanks

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

    (@easyregistrationforms)

    Hello @blairsawler,

    It can be changed using one of our hook:
    add_filter(‘erf_offline_front_label’,’change_payment_label’);
    function change_payment_label($label){
    return ‘In Person’;
    }

    You can use above script in your functions.php file. This script changes the title for front end. If you want to change it for admin as well, use one more hook:

    add_filter(‘erf_payment_method_titles’,’payment_method_titles’);
    function payment_method_titles($methods){
    $methods[‘offline’]= ‘In Person’;
    return $methods;
    }

    Thread Starter blairsawler

    (@blairsawler)

    Perfect, thanks so much. If I wanted to change the PayPal to read something like Pay Online with PayPal, would it be a similar call?

    Thanks @easyregistrationforms your support is fantastic!

    Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Yes, Similar should work. For example :
    add_filter(‘erf_paypal_front_label’,’change_paypal_label’);
    function change_paypal_label($label){
    return ‘Pay With PayPal’;
    }

    Thread Starter blairsawler

    (@blairsawler)

    Thanks again, that was perfect.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Payment Method Label’ is closed to new replies.