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

Get member's chosen level

Simple Membership Plugin › Forums › Simple Membership Plugin › Get member's chosen level

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 3 months ago by mbrsolution.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 14, 2016 at 12:13 pm #7802
    FilipeFonseca
    Participant

    Hi

    (Second topic today, separate subject)

    I am looking to associate each level of membership with different BuddyPress member types.

    I read the documentation, but am I correct in assuming that you can only find the membership level via the user’s id once the user is registered?
    If so, how can I find the level they have chosen as they’re registering so I can insert something into the database depending on which they choose?

    The code would have something along these lines:

    $student_levels = array( 2, 3, 4, 5, 11, 12, 13, 14, 15 );
     $member_level_chosen = // whichever level chosen on registration
     if ( in_array( $member_level_chosen, $student_levels ) {
        // make intern a student (insert into SQL stuff)
     }

    I am trying to find $member_level.

    Any help on this really appreciated!

    Filipe

    August 15, 2016 at 5:45 am #7811
    mbrsolution
    Moderator

    Hi Filipe, please check the following PHP tweaks. Let me know if they help you.

    Regards

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

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