Support » Plugin: WP-Members Membership Plugin » How can I add two diff types of registration for special user and normal users

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

    (@cbutlerjr)

    I think you could probably use the wpmem_register_form filter and base your returned fields based on the page that the user is on. This is a rough idea:

    add_filter( 'wpmem_register_form', 'my_register_form_filter' );
    
    function my_register_form_filter( $form )
    {
        global $post;
        if( is_page('some-page') ) {
            // use php to filter the generated $form,
            // something like str_replace
        } else {
            // use php to filter the generated $form,
            // something like str_replace.
        }
    
        return $form;
    }

    Hi,

    Many thanks for your great help.

    Thank you

    Aryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I add two diff types of registration for special user and normal users’ is closed to new replies.