Changing default registration role

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

From now the forum will be read-only!

This topic contains 1 reply, has 2 voices, and was last updated by WCFM Forum WCFM Forum 8 months, 1 week ago.

  • Author
  • #95968

    I want to ask if there is a GUI way to set the “wcfmvm_registration_default_role”. Currently I’m using the filter you provide inside “wcfmvm-controller-memberships-registration.php” to change it (as seen below), but I wonder if I’m unnecessarily complicating things and missing a setting in the Frontend Manager page.

    function standarize_default_role ( $default_wcfmvm_role_name ){
    	$default_wcfmvm_role_name = get_option('default_role');
    	return $default_wcfmvm_role_name;
    add_filter( 'wcfmvm_registration_default_role','standarize_default_role');
  • #96417
    WCFM Forum
    WCFM Forum

    Your code is fine, you may use this.

The topic ‘Changing default registration role’ is closed to new replies.