- This topic has 1 reply, 2 voices, and was last updated 2 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Can I get some hook documentation for developing a content visibility plugin?
I’m trying to develop a plugin to target specific IDs to show/hide visibility. In part because I don’t think the current Dynamic Menu plugin will work with the 2024 theme. I looked through the documentation but couldn’t find answers to all of my questions:
• What hook or function can I use to retrieve the current logged-in user’s membership level?
• Is there a hook that fires after a user’s membership level is updated?
• Can you provide examples or best practices for using swpm_after_login and swpm_logout hooks to dynamically control content visibility?
• How can I fetch a complete list of all membership levels, including custom ones?
• Are there any recommendations or best practices for integrating a custom visibility control plugin, particularly for adjusting content based on membership levels?
Thanks!
If you are having difficulties with a premium addon, such as the Dynamic Menus Addon; please complete a Premium Addon Support ticket, and a developer will contact you, directly.
https://simple-membership-plugin.com/premium-addon-support/