Support » Plugin: WP-Members: Membership Framework » some sort of reference no. with wp-member plugin?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    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).

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘some sort of reference no. with wp-member plugin?’ is closed to new replies.