If you use a WordPress plugin that creates/uses Custom Post Types and you want to protect those custom post types then this addon will be useful.
The default content protection of the Simple Membership plugin will work on most custom post types. However, there are some plugins that don’t trigger the standard WordPress hooks and filters for their custom post type posts. The default protection will fail on those posts since the Simple Membership plugin can’t hook in there using the standard method. That is when the “Custom Post Type Protection Enhanced” addon will come in handy. This addon will use a different technique to still protect those custom posts.
Lets say, you have a plugin which creates a custom post type called “Books”. You can use this addon to protect the “Books” custom posts.
Download the Addon
Click here to download the Custom Post Type Protection Enhanced addon.
Installing the Addon
- Click on the “Add New” menu under the plugins interface.
- Go to the “Uploader” tab and upload the swpm-custom-post-type-protection-enhanced.zip file
- Hit the “Install Now” button and then activate the addon
You protect your custom post type posts exactly the same way you protect your normal posts/pages in the main plugin.
The following screenshot shows how you protect a custom post type post from the admin dashboard (by editing the post):
When this addon is active, non-members visiting a protected custom post type post will see the following protection message:
This addon will apply the above protection to all your custom post type posts (where the protection is enabled).
The content protection message of this addon will look different than the standard one from the core plugin because it uses a completely different technique.