Change My Account Refer a friend tab title

READ FIRST: This code needs to be added at the end of the functions.php file. If you are familiar with editing functions.php, feel free to continue reading. If you haven't done this before, adding this code in wrong place might bring the site down and the only way to access it is by editing functions.php file again via FTP. Feel free to contact us if you need help!

If you want to change Refer a Friend tab title that is located under My Account page, you need to add this code to functions.php file:

add_filter('gens_raf_tab_title', function () {
    return 'Your text';

But if you want to translate it to be used by multiple languages, use translations plugin such as Loco Translate or WPML. 

Still need help? Contact Us Contact Us