Description
WP Referral code helps you generate a refer code for each of your users and start your version of referral marketing.on user registeration plugin will capture the refer code. WP Referral Code provides a user-friendly “copy refer link box” so that users can easily copy and share their link.
this plugin\’s only dependency is wordpress core you can use it with all plugins out there. the logic after successful referred registeration is up to you though. 2 important hooks will help you with that. check documentation on plugin website for more information.Documentation
several shortcodes are provided to help you get the things where they should be. you can see a list of them on plugin options
All information about referral status of user is on user edit page(Dashboard->Users->selec a user). there you can see how many users he has invited and referred by who.
Installation
note: on activation plugin will create refer codes for all of your users.
Reviews
Contributors & Developers
“WP Referral Code” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WP Referral Code” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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