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

[Support request] How to programatically protect post?

Simple Membership Plugin › Forums › Simple Membership Plugin › How to programatically protect post?

  • This topic has 3 replies, 4 voices, and was last updated 7 years, 2 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 11, 2019 at 2:17 am #17579
    paddy
    Participant

    I originally wanted to automatically protect my custom post types but it seems this isn’t possible. Next option is to set the post protection when a new post is created but how would I do this? The post protection status doesn’t seem to be stored anywhere in the post meta and I can’t see any hooks/filters that will do it. Is this possible to do?

    March 11, 2019 at 10:20 pm #17586
    mbrsolution
    Moderator

    Hi,

    The post protection status doesn’t seem to be stored anywhere in the post meta and I can’t see any hooks/filters that will do it. Is this possible to do?

    No, currently that is not possible with our plugin.

    April 15, 2019 at 8:48 pm #17908
    Uwe Trenkner
    Participant

    I was also looking into where and how this info is stored. Where could I find this info in the database?

    Thanks,
    Uwe.

    April 16, 2019 at 6:49 am #17910
    admin
    Keymaster

    It should be in the “swpm_membership_tbl” DB table.

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