Title: Resticting shortcode within plugin shortcode
Last modified: March 16, 2018

---

# Resticting shortcode within plugin shortcode

 *  Resolved [ronda0928](https://wordpress.org/support/users/ronda0928/)
 * (@ronda0928)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/resticting-shortcode-within-plugin-shortcode/)
 * Hi! So I have been using this plugin for an Affiliate site I created and I love
   it! However, not even thinking, I placed shortcode for a theme button within 
   the User access shortcode to restrict it to only paid users, and it doesn’t seem
   to be restricting it. Is this plugin made to restrict anything within it’s shortcode,
   or would it not work with other shortcode?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/resticting-shortcode-within-plugin-shortcode/#post-10093051)
 * I am glad you find the plugin useful 🙂
 * Can you show me what shortcodes you used? The plugin will restrict content based
   on the conditions in your Access Levels and based on the [restrict] shortcode.
   You can insert shortcodes inside it as well, like this:
 *     ```
       [restrict level=""]
           [custom-shortcode]
       [/restrict]
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Resticting shortcode within plugin shortcode’ is closed to new replies.

 * ![](https://ps.w.org/restrict-user-access/assets/icon-256x256.png?rev=1815922)
 * [Restrict User Access - Ultimate Membership & Content Protection](https://wordpress.org/plugins/restrict-user-access/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-user-access/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-user-access/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-user-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-user-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-user-access/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/resticting-shortcode-within-plugin-shortcode/#post-10093051)
 * Status: resolved