MyCred assigns different points to the users but it’s been sometime noticed that the users want to transfer points to another user and MyCred has a transfer form as default but to send a custom message with the transfer like a reason for transferring points which is not available with default form. Below snippets will help you to add custom message.
Also, see this if you don’t know how to allow the transfer of points with myCred.
Note: MyCred Plugin must be configured in order to use these snippets.
Let’s check how it is working…
This snippet will display a new field to the forum.
The snippet will save the custom message field value into the myCred database.
The snippet will add a new column in MyCred log where custom message will be displayed.
The snippet will display custom message on myCred log.
So, All you need to add this code snippet to your theme functions.php file to display custom message with myCred transfer.
Enjoy!
Leave A Comment