Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember F.A.Q/Instructions › eMember – Using Multiple Free Membership Levels › Reply To: eMember – Using Multiple Free Membership Levels
Hi..
I ended up modifying a couple functions in the eMember suite with a few lines of code.
function free_rego_with_email_confirmation_handler($atts=NULL)
-Added the $atts parameter and shortcode_atts to get membership level.
-Added an optional hidden form field to post with the form
function emember_process_free_rego_with_confirm_form()
-Added the check to use the hidden form field if it exists
Now I can simply enter the shortcode [free_rego_with_email_confirmation level=3], which now accepts a parameter specifying the particular free membership level that is being processed.
It’s completely backward compatible and doesn’t break any existing functionality. If I submit the code, will you include it in the next release so I don’t have to worry about future releases?