Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

jojoking

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 27, 2016 at 3:32 am in reply to: swpm_front_end_registration_complete_user_data hook #8698
    jojoking
    Participant

    I’ve finally figured this out!

    I have two levels of paid registration, Choirs and Delegates (Choir Members). So I opted to have different registration forms using the form builder addon. Problem is, this bypasses most of function regigstration_ui() where the hooks are…

    By deactivating the addon, it now passes through my ‘swpm_front_end_registration_complete_user_data’ code.

    This is the code in question

        public function regigstration_ui($level) {
            //Trigger the filter to override the registration form (the form builder addon uses this filter)
            $form = apply_filters('swpm_registration_form_override', '', $level);//The $level value could be empty also so the code handling the filter need to check for it.
            if (!empty($form)) {
                //An addon has overridden the registration form. So use that one.
                return $form;
            }
            
    

    So for now, I’m going to have to do different registration forms in another way…

    October 25, 2016 at 9:02 pm in reply to: swpm_front_end_registration_complete_user_data hook #8694
    jojoking
    Participant

    Initially, I wanted to make sure it wasn’t the if{} clause that was preventing writing to my ‘choir’ taxonomy. Then I put in the write to the debug file – this isn’t appearing, so that’s why I think it’s not using the hook

    October 19, 2016 at 5:55 pm in reply to: Registration Link Email #8620
    jojoking
    Participant

    Okay, now the problem’s gone away… not sure what happened. I’ll keep an eye out for it in case it happens again.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy