Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember – code to get a page's membership levels

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember – code to get a page's membership levels

Tagged: membership levels

  • This topic has 1 reply, 1 voice, and was last updated 12 years, 5 months ago by launch.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 4, 2012 at 2:14 pm #8072
    launch
    Member

    How do I get the membership levels that a page has checked?

    December 4, 2012 at 2:42 pm #52043
    launch
    Member

    well, I think I’ve solved my own problem. If anyone else is interested or can suggest a better way this is what I did..

    $page_membership_levels = $wpdb->get_results( “SELECT page_list FROM wp_wp_eMember_membership_tbl WHERE alias='”.do_shortcode(‘[wp_eMember_user_details user_info=”user_membership_level_name”]’).”‘” );

    $page_membership_levels = unserialize($page_membership_levels[0]->page_list);

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ