Title: WP Referral Code
Author: shalior
Published: <strong>ئازار 26, 2020</strong>
Last modified: کانوونی یەکەم 25, 2024

---

گەڕان لە پێوەکراوەکان

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-referral-code.svg)

# WP Referral Code

 لەلایەن [shalior](https://profiles.wordpress.org/shalior/)

[داگرتن](https://downloads.wordpress.org/plugin/wp-referral-code.1.4.12.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/wp-referral-code/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/wp-referral-code/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/wp-referral-code/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/wp-referral-code/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/wp-referral-code/)

## وەسف

WP Referral Code is a WordPress plugin that helps you generate a unique referral
code for each of your users, enabling you to start your own version of referral 
marketing. Upon user registration, the plugin captures the refer code automatically.
Additionally, WP Referral Code provides a user-friendly “copy refer link box” that
allows users to easily copy and share their referral link.

This plugin is dependent only on the WordPress core and can be used with all other
plugins. However, the logic after successful referral registration is up to you.
To help with this, two important hooks are provided. For more information on how
to use them, please refer to the plugin documentation, which can be found on the
plugin website [Documentation](http://shalior.ir/wp-referral-code).

Several shortcodes are available to help you place things where they need to be.
A list of these shortcodes can be found in the plugin options.

All information related to the referral status of a user can be found on the user
edit page (Dashboard->Users->select a user). Here, you can view how many users the
user has invited and who they were referred by.

## سکرین شۆتەکان

 * [[
 * Copy link shortcode example
 * [[
 * Options page
 * [[
 * List of shortcodes
 * [[
 * Managing referrals in User edit page

## دامەزراندن

note: on activation plugin will create refer codes for all of your users.

## پێداچوونەوەکان

![](https://secure.gravatar.com/avatar/54f3af92eecdb9493a2076f8b7b75ecb6d7595ef8b5294ccab5c41e5a2aa2bb1?
s=60&d=retro&r=g)

### 󠀁[Works great with generatepress](https://wordpress.org/support/topic/works-great-with-generatepress/)󠁿

 [Vondelphia.com](https://profiles.wordpress.org/vondelphia/) تشرینی دووەم 11, 2025

No complaints. Everything works as I wanted, and it’s lightweight… I just copy a
bunch of shortcodes and check things out and it works.

![](https://secure.gravatar.com/avatar/2d9569fce6c7167f1e00ffef294d7997cea0b4869ffd26c1927ee9f5d47282bc?
s=60&d=retro&r=g)

### 󠀁[Update your plugin](https://wordpress.org/support/topic/update-your-plugin-11/)󠁿

 [temibright](https://profiles.wordpress.org/temibright/) ئاب 8, 2025

I installed this plug-in yesterday but unfortunately it really broke my site… please
update your plugin… thanks

![](https://secure.gravatar.com/avatar/1903b6a209f00db6056252266e388073ea3a2cebc30fdc7aad33761f26177bcf?
s=60&d=retro&r=g)

### 󠀁[Simply Awesome](https://wordpress.org/support/topic/simply-awesome-330/)󠁿

 [liquid.ideas](https://profiles.wordpress.org/liquidideas/) ئاب 2, 2023

Just logging in specifically to say thanks!

![](https://secure.gravatar.com/avatar/5190014fe1be55566e4b95ecadcdd7cc023246aa53d5f814c97f4557c38f395d?
s=60&d=retro&r=g)

### 󠀁[WORKS LIKE A CHARM!](https://wordpress.org/support/topic/works-like-a-charm-2203/)󠁿

 [georgefivaz](https://profiles.wordpress.org/georgefivaz/) نیسان 29, 2023

I’ve been searching for a plugin that can do this forever! Thanks you so much! It
works like a charm! Keep up the good work!

![](https://secure.gravatar.com/avatar/85d2db634dfc83df805a0a68a486f9c504c113c0f0a084920e15dde78794eec8?
s=60&d=retro&r=g)

### 󠀁[Saves a lot of time](https://wordpress.org/support/topic/saves-a-lot-of-time-48/)󠁿

 [titouan13](https://profiles.wordpress.org/titouan13/) نیسان 21, 2023

Wonderful plugin, especially if you’re willing to use it as a base and add some 
code around. It has minimal functionalities but it can be all that you need.

![](https://secure.gravatar.com/avatar/269d6aaadbe1575feea3c4d60d2ab5e362a8e9c45473cd8d5aa7154660cac810?
s=60&d=retro&r=g)

### 󠀁[PURE SHIT!](https://wordpress.org/support/topic/pure-shit-2/)󠁿

 [jobbyboy](https://profiles.wordpress.org/jobbyboy/) تشرینی دووەم 25, 2022

This plugin crashed my website.. for me is pure shit!

 [ خوێندنەوەی 11 پێداچوونەوە ](https://wordpress.org/support/plugin/wp-referral-code/reviews/)

## بەشداربووان و گەشەپێدەران

“WP Referral Code” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان
تێدا کردووە.

بەشداربووان

 *   [ shalior ](https://profiles.wordpress.org/shalior/)

[“WP Referral Code” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/wp-referral-code)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/wp-referral-code/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/wp-referral-code/) بکە،
یان بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/wp-referral-code/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/wp-referral-code/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

#### 1.4.12

 * minor fix to ensure default options are used

#### 1.4.11

 * Add an option to hide referral info in users table
 * Make referral counts sortable in users table

#### 1.4.10

 * UI enhancements.

#### 1.4.9

 * Update styles to support more themes.

#### 1.4.7

 * Redesign copy link box, fix minor bugs.

#### 1.4.6

 * Minor fix to remove spaces around refer link in copy ref link box

#### 1.4.5

 * Fix: Make more statements translatable.
 * Document: Add new shortcode to shortcodes list.

#### 1.4.4

 * Feature: New shortcode [wp-referral-code var=”most_referring_users”] shows users
   with most referring

#### 1.4.3

 * Fixed: Prevent submitting himself and already referred user.

#### 1.4.2

 * Minor bug fix, correctly loading styles.

#### 1.4.1

 * Add support for PHP 8.*

#### 1.4.0

 * You can now manually add referral relation for users.
 * Check user edit page (WordPress admin -> users -> select a user -> scroll down)
   to see the new Add button.

#### 1.3.2

 * General fixes and refactors

#### 1.3.1

 * Fix a bug related to updating/setting custom refer codes

#### 1.3.0

 * new feature which allows setting custom refer code for users, See the new filed
   in edit user page

#### 1.2.1

 * show referral data in users table

#### 1.2.0

 * new feature to remove referral relation in user edit admin page

#### 1.1.1

 * update tested up to version: 5.7
 * fix copy box shortcode not rendering in some page builders.

#### 1.1.0

 * New option to set ref code expiration time
 * New shortcode to show invited users list in frontend. new hooks to customize 
   list’s look.
 * New important filter to modify ref code on registration (‘wp_referral_code_new_user_ref_code’)
   which makes it possible to capture possible refer code value from registration
   form or other sources.
 * minor bug fixes and performance improvements
 * -Many thanks to Stefano (@sdotb) for testing and reviewing plugin

#### 1.0.2

 * this update ensures values in the invited users list are unique.

#### 1.0.1

 * This minor update includes code improvements and some new hooks to make the plugin
   easier to extend by developers. no breaking changes.
 * add new filter ‘wp_referral_code_validate_submission’ to control wheter refer
   data should be submited to database.
 * new helper function ‘wp_referral_code_add_user_to_referrer_invite_list($user_id,
   $referrer_id)’

#### 1.0.0

 * First version

## مێتا

 *  وەشان **1.4.12**
 *  دوایین بەڕۆژکردنەوە **1 ساڵ لەمەوبەر**
 *  دامەزراندنی چالاک **600+**
 *  وەشانی وۆردپرێس ** 4.8 یان بەرزتر **
 *  تاقیکراوەتەوە تا **6.7.5**
 *  وەشانی PHP ** 5.6 یان بەرزتر **
 *  زمان
 * [English (US)](https://wordpress.org/plugins/wp-referral-code/)
 * تاگەکان
 * [affiliate](https://ku.wordpress.org/plugins/tags/affiliate/)[affiliate marketing](https://ku.wordpress.org/plugins/tags/affiliate-marketing/)
   [refer](https://ku.wordpress.org/plugins/tags/refer/)[referral](https://ku.wordpress.org/plugins/tags/referral/)
   [referral marketing](https://ku.wordpress.org/plugins/tags/referral-marketing/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/wp-referral-code/advanced/)

## هەڵسەنگاندنەکان

 4.3 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/wp-referral-code/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-referral-code/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-referral-code/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-referral-code/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/wp-referral-code/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-referral-code/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-referral-code/reviews/)

## بەشداربووان

 *   [ shalior ](https://profiles.wordpress.org/shalior/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/wp-referral-code/)