Title: filter posts to protect programmatically
Last modified: September 6, 2021

---

# filter posts to protect programmatically

 *  Resolved [wpshushu](https://wordpress.org/support/users/wpshushu/)
 * (@wpshushu)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/filter-posts-to-protect-programmatically/)
 * Is there any Hook I could use to filter posts to protect?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ays Pro](https://wordpress.org/support/users/ays-pro/)
 * (@ays-pro)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/filter-posts-to-protect-programmatically/#post-14841692)
 * Hi dear [@wpshushu](https://wordpress.org/support/users/wpshushu/),
 * Thank you for the topic.
 * Unfortunately, there is no such hook to implement for page filtering.
 * Though, I would like to mention that there is an option called **Enable for**
   via which you can select which part of your website you need to be protected.
   For the except and selected options, you can choose specific posts and post types.
   The option is available in the Pro version.
 * See the screenshot: [https://ibb.co/d47qFHx](https://ibb.co/d47qFHx)
    You can
   also check out the following video tutorial:
 * Thank you!

Viewing 1 replies (of 1 total)

The topic ‘filter posts to protect programmatically’ is closed to new replies.

 * ![](https://ps.w.org/secure-copy-content-protection/assets/icon-128x128.png?rev
   =1963723)
 * [Secure Copy Content Protection and Content Locking](https://wordpress.org/plugins/secure-copy-content-protection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/secure-copy-content-protection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/secure-copy-content-protection/)
 * [Active Topics](https://wordpress.org/support/plugin/secure-copy-content-protection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/secure-copy-content-protection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/secure-copy-content-protection/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ays Pro](https://wordpress.org/support/users/ays-pro/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/filter-posts-to-protect-programmatically/#post-14841692)
 * Status: resolved