Title: Detect if user has access to post with custom code
Last modified: April 12, 2022

---

# Detect if user has access to post with custom code

 *  Resolved [ssaranova](https://wordpress.org/support/users/ssaranova/)
 * (@ssaranova)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/detect-if-post-have-access-with-custom-code/)
 * Hi!!
    I am using your plugin to control access to my content and it works perfectly,
   but I have a problem in a section where we use a plugin that prints a items list
   with a shortcode, but that shortcode paints everything, and we want to restrict
   it based on whether the user has access or not to the post that is going to be
   painted in the list
 * How could I do it? I haven’t found anything in the support forum 🙁
 * Thanks in advance!! 🙂
    -  This topic was modified 4 years, 2 months ago by [ssaranova](https://wordpress.org/support/users/ssaranova/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * (@mlchaves)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/detect-if-post-have-access-with-custom-code/#post-15566417)
 * Hey [@ssaranova](https://wordpress.org/support/users/ssaranova/),
 * Thanks so much for your feedback.
 * That’s a great question. Content Control supports WordPress built-in listings
   or archive pages. Right now, it doesn’t support custom or 3rd-party code like
   the plugin you’re using.
 * We’d need to build an integration to do that. We can add your idea as a feature
   request to consider for a future release.
 * Feel free to submit a feature request via our contact form if you want 🙂
 * [https://code-atlantic.com/contact/](https://code-atlantic.com/contact/)
 * Make sure you include the name and details of the plugin you want us to integrate
   with.
 * Cheers!

Viewing 1 replies (of 1 total)

The topic ‘Detect if user has access to post with custom code’ is closed to new 
replies.

 * ![](https://ps.w.org/content-control/assets/icon-256x256.gif?rev=2968535)
 * [Content Control - The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More](https://wordpress.org/plugins/content-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-control/)
 * [Active Topics](https://wordpress.org/support/plugin/content-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-control/reviews/)

## Tags

 * [feature](https://wordpress.org/support/topic-tag/feature/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/detect-if-post-have-access-with-custom-code/#post-15566417)
 * Status: resolved