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

[Resolved] Protect PHP forms

Simple Membership Plugin › Forums › Simple Membership Plugin › Protect PHP forms

  • This topic has 2 replies, 2 voices, and was last updated 1 year ago by pcchirurg.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 24, 2025 at 3:57 am #30436
    pcchirurg
    Participant

    I have set up a members area where I have fully protected some pages.
    On these pages, there are links to PHP forms, but they are not protected.
    How do I ensure that these PHP forms are also protected?
    Example: [https://wcf.de/en/lic/License-EN_RU_Europe_2025.php]

    May 24, 2025 at 4:02 am #30439
    admin
    Keymaster

    Our plugin can protect a page if it is part of the WordPress system. So, to apply general protection using our plugin, the form you’re referring to must be embedded on a WordPress page.

    If embedding it on a WordPress page isn’t possible, the alternative is to implement custom code that checks whether a member is logged in and applies protection accordingly. This custom implementation would need to be done on your end.

    Our plugin provides helper functions for checking login status. You can refer to the following page for some useful examples and functions to assist in building your own solution:
    https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/

    June 10, 2025 at 11:03 am #30610
    pcchirurg
    Participant

    I understand that I can implement custom code that checks whether a member is logged in, and applies protection accordingly.
    I just don’t know where to implement the code.
    The plugin-protected page contains links to the corresponding PHP forms.
    Do I have to enter the code in the PHP form or somewhere else?
    I would be very grateful for your advice.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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