WP-Members: Membership Framework
some sort of reference no. with wp-member plugin? (3 posts)

  1. Chander Dhingra
    Posted 2 years ago #

    Is is possible to get reference no. or membership no. each time new member register on site with WP-Members plugin


  2. Chad Butler
    Plugin Author

    Posted 2 years ago #

    All users in the wp_users table have a numeric primary key assigned, this is the ID field. However, if you want something besides 1,2,3,etc, then you could generate your own unique number or reference (it need not be numeric).

    After the user registers, there is an action hook wpmem_post_register_data. At that point, the user is registered and the ID is available to you, so you could hook a custom function to that action, create your unique reference code, and save it as a meta field (using http://codex.wordpress.org/Function_Reference/update_user_meta).

  3. Chander Dhingra
    Posted 2 years ago #

    where can I hook the code for reference no., I am not that much fluent in php.

    And one more thing can I have radio buttons for registration forms?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic