• Resolved dreamspacecz

    (@dreamspacecz)


    Hello,

    I would like to ask you do you have any function that allows me to create my own code for a certain user?
    My point is that I don’t need this code for all users, but only for sponsors or partners. And I would like to create my own ten codes that make sense, such as INVITEPARTNER2022, etc. Of course, everyone would have a different one.

    Thank you very much for any advice.
    Have a nice day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author shalior

    (@shalior)

    Hello,
    you can certainly do that, if you’re familiar with WP development, this one line should help you implement what you need.

    update_user_meta( $user_id, 'wrc_ref_code', $ref_code );

    I’m considering adding this little feature to the plugin. So stay tuned for an update. hopefully, this weekend.

    Have a great day.

    Thread Starter dreamspacecz

    (@dreamspacecz)

    That would be great, I will definitely wait. This is definitely a good feature that your plugin should have. They will be happy to contribute a contribution to support the plugin

    Plugin Author shalior

    (@shalior)

    Update to version 1.3.0 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom code’ is closed to new replies.