View Categories

FAQ

35 docs

How to get a user’s points using php?

Last Updated: June 12, 2025

To display a user’s points balance in your theme or plugin, you can use the following code: This will return the raw points value. If you need to format it with the points label (e.g. “100 Points”), you can use: Note: Make sure to check if the user is logged in before displaying their points...

How Points Are Earned and Redeemed

Last Updated: May 24, 2025

The WPGens Points and Rewards for WooCommerce plugin allows store owners to define how customers earn and redeem points. You can fully customize earning actions and redemption options to fit your store’s loyalty goals. This guide explains how points are earned, how they are redeemed, and where to manage these settings in your WordPress admin....

How to Enable or Disable the Points & Rewards Program

Last Updated: May 24, 2025

Program Status and Activation To begin rewarding customers with points, you must first activate the program: When enabled: When disabled: No points will be earned or redeemed, but all settings are retained for future use.

How to View Member Points, Activity Logs & Import Points

Last Updated: May 24, 2025

Viewing Member Points & History The Members section gives you a full overview of every customer’s point balance, along with total collected and redeemed points. You can also dig into individual histories to understand how points were earned, spent, or expired. The Members section gives you a full overview of every customer’s point balance, along...

How to Export Customer Points Data

Last Updated: May 24, 2025

Exporting Member Points Data You can export your members’ points data to a CSV file at any time. This is useful for backups, reporting, or migrating to another system. To export: The file will include:

Step-by-Step: Setting Up Your Points & Rewards Program

Last Updated: May 24, 2025

Whether you’re launching a loyalty program for the first time or setting one up on a new store, this guide walks you through every essential step using the WPGens Points and Rewards plugin for WooCommerce. Step 1: Activate the Points Program When active: customers will earn and redeem points based on your settings. When disabled:...

How to Set up Social Links

Last Updated: May 24, 2025

Adding Social Media Links for Rewards This area allows you to define custom links for key actions and features related to your Points and Rewards program. These URLs are used in emails, buttons, referral links, and landing pages – making them essential for a seamless user experience. Properly setting these ensures customers are directed to...

How to Make the Dynamic Text Translatable with Polylang

Last Updated: April 29, 2025

If you’re using Polylang on your site, you can make both the Share Text and Reward Box Texts from Refer a Friend fully translatable.Follow this step-by-step guide to enable translations for these options. Step 1: Register the Dynamic Texts for Translation You need to tell Polylang which fields should be translatable. Add the following code...

How to Set Up Points Expiration

Last Updated: January 12, 2026

Enabling Point Expiry Point expiration helps keep your loyalty program active by encouraging customers to redeem points before they lose them. This can also reduce long-term reward liabilities. To enable point expiration: Once enabled, all newly earned points will have an expiration timer based on the period you set (see next doc). Customers will also...

How to earn points instead of coupons

Last Updated: April 21, 2025

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

Saving Shared Emails

Last Updated: April 21, 2025

This guide provides code to save emails shared through the WPGENS RAF (Refer a Friend) plugin. You can add this code to your theme’s functions.php file. Instructions: 1. Open your theme’s functions.php file. You can do this through the WordPress admin panel under Appearance > Theme Editor, or via FTP. 2. Copy and paste the...

How to export referral codes

Last Updated: April 21, 2025

Before exporting referral (RAF) codes, please make sure to do the following:

How to send Referral Codes to Klaviyo

Last Updated: April 21, 2025

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

How to Restrict the Referral Program to Subscribed Users in WooCommerce Subscription

Last Updated: April 21, 2025

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

Generate a coupon code on every nth referral.

Last Updated: June 16, 2024

By default, the WooCommerce Refer a Friend plugin will generate a coupon code for every successful referral. In order to reward customers on every nth referral, you can use the built-in feature. Just navigate to WooCommerce -> Refer a Friend -> Advocate Reward and click on Show advanced options.

How to hide ‘Share by email’

Last Updated: June 16, 2024

You can hide the ‘Share by email’ option by navigating to Settings -> Email Settings and clicking the toggle Hide share via email option.

TeraWallet support

Last Updated: March 17, 2025

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

How to automatically add a (free) product to a user’s cart when they visit through a referral link?

Last Updated: June 16, 2024

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

How to hide/show RAF product tab for specific product category?

Last Updated: June 16, 2024

If you want to hide the Refer a Friend product tab from a specific category of products, you can use the code below – just change “clothing” to your category slug. That way, the Refer a Friend product tab won’t be shown for that category of products. But if you want to hide it from...

How to test coupons with a recurring subscription?

Last Updated: June 16, 2024

In order to test whether coupons get applied to recurring subscriptions, you need to have an account that has a subscription placed and is waiting for the next renewal – you can create a dummy subscription order and it should work. Use the referral link from that account in a new incognito window (or in a...

How to hide a specific social share button?

Last Updated: June 16, 2024

Each social share icon has its own class that you can use and target to hide from the front end. You can do this by adding the code below to your theme style.css file. In the menu click on Appearance -> Editor. To remove facebook share add this code: .gens-referral_share__fb { display:none!important; } To remove...

How to enable a referral link for a specific user role only

Last Updated: January 31, 2025

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

How to manually change users referral code/link?

Last Updated: June 16, 2024

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

How to remove Refer a Friend Tab from My Account page

Last Updated: June 16, 2024

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

WooCommerce Subscription – recurring rewards

Last Updated: June 16, 2024

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

WooCommerce Points & Rewards, how to reward users with points instead of a coupon?

Last Updated: June 16, 2024

If you are using the Woocommerce Points and Rewards plugin, you can reward users for referring friends with points instead of a coupon. To do so, go to the Points and Rewards plugin settings and change the number of points under the “Points earned for referring a user”. After that, if you want to stop generating...

How to set up which image to share through the Share buttons?

Last Updated: June 16, 2024

Unfortunately, Facebook no longer allows passing the image that you want through share buttons, instead, they are all defined in the header via og:image tag. You can add this tag manually or through a plugin: 1. Manually: If for some reason, you are not using SEO by Yoast, you can manually add og:image tag by following the second...

How to give a discount to the person who came through the referral link?

Last Updated: June 16, 2024

Let’s say you want to give a 20% discount to the person that came through a referral link. The first thing you need to do is create a coupon that will apply to every person who came through a referral link. 1. Go to Woocommerce -> Coupons and create a new coupon. 2. Match the...

How to send a coupon on other order status than complete?

Last Updated: June 16, 2024

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

How to generate referral links for old customers?

Last Updated: June 16, 2024

By default, Refer a Friend plugin will generate referral links for every new user that registers with your site, whereas for already registered users it will be generated as soon as they view any page where their referral link is showing.  But, if you need to generate it at once for all your past customers –...

How to use Contact Form 7 shortcode?

Last Updated: June 16, 2024

Refer a friend comes with the Contact Form 7 shortcode [gens_raf]. The way it works is that it allows your users to send personalized messages via contact form 7 to their friends, and a referral link will show at the end of the email or where you place the shortcode in the email body. Usually, you...

Connecting referral links to MailChimp

Last Updated: June 16, 2024

If you want to include the users’ referral codes in the mailing list that you are sending via MailChimp, or if you just want to send a mass email to all registered users telling them about the new referral program, follow the steps below: IMPORTANT: If you only see the First and Last names, make...

WooCommerce Subscriptions – apply coupons on next renewal

Last Updated: June 16, 2024

Refer a Friend is compatible with the WooCommerce Subscriptions plugin. To make it work, after setting up the plugin per the step-by-step guide you can find on this link: Setting up WooCommerce Refer a Friend plugin, you need to enable the WooCommerce subscription option under the plugin’s general settings and you are done – coupons...

How to add user referral code to every order details email?

Last Updated: June 16, 2024

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 the wrong place might bring the site down and the only way to access it is by editing functions.php...

WPML Translation

Last Updated: June 16, 2024

WPML Translation should be pretty straightforward to set up. You can read a fully detailed explanation on the WPML site here. After you finish these translations, there are some that will be missing, and those are the strings that appear in the emails. In order to translate those, go to WPML -> String Translation, scroll down to...

What they say

Trusted by 7000+ customers

Our plugins are used by more than 7000 websites across the globe. All of our plugins are rated 5 stars on WordPress.org. Don’t just take our word for it, check what others are saying about WPGens.

I bought and tested the plugin with WooCommerce Subscription and it works like a charm. I had some specific questions to the developer and he responded very fast and helped me. I suggest the plugin!

Refer a Friend PREMIUM
@rinpocse91

If your looking to set up a referral program on your WooCommerce site to boost up your site sale “Refer A Friend for WooCommerce by WPGens” is your plugin to go for. Little blown away with an amazing support provided from (Goran) the plugin working exactly what you want to set up a referral system. Good job guys!

Refer a Friend PREMIUM
@samroon007

We deal with dozens of applications and plugins on a daily basis. Many of them are excellent, but few have truly excellent support. The Refer A Friend plugin is one of them: the response to my questions is always fast, friendly and very helpful.

Refer a Friend PREMIUM
@smartDIYer

This plugin is awesome. It looks good, it’s light weight, has great support – everything you can expect from a paid plugin, only it’s free!!!!

Swifty Bar
@ofirbeigel

Read all testimonials on WordPress Repository.

Get notified when we add new plugins.

We do not publish plugins often, but when we do, it's something awesome. No spam, we promise.