Support » Plugins » Hacks » hide a specific plugin from Registered users or subscribers.

  • Paul


    can any tell me how do I hide a specific plugin from Registered users or subscribers. I want it to run only for the guest users. One more help ,how to load the plugin only in first page view in a session. Even the answer for my first question will help me a lot.

    I wanted the answer w.r.t plugin “Automatic Social Locker”

    below is some more helps required on the same plugin. if it is possible.

    1. To disable popup for registered users or subscribers
    2. Freeze ESC key, since ESC key closes the popup layer
    3. SHow the pop up only one time in a session.

    thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Can you post this question to that plugin’s dedicated support sub-forum?

    There may be a way to prevent those via the plugin or filters and actions. That sub-forum would be the best place to ask that part.



    i asked here because the plugin author is not replying to any of the queries in last 6 months..there must be some simple way which can be appended to the plugin to make this work, i’ve asked this in code section , thank you, lets c what happens

    Moderator bcworkz


    Without the assistance of someone familiar with the plugin code, your only recourse is to dive into the code yourself (or hire someone to do so.., I’m not offering BTW).

    It could be simple, or complicated, it’s impossible for anyone unfamiliar with the code to say. The basic approach is to disable portions of the code that does something undesirable by wrapping it in a conditional like this:

    if ( ! is_user_logged_in() ) {
       //undesirable code here

    You are not hiding anything, you are conditionally disabling code. One approach that may or may not work, but is easy to try, is to treat the entire code page as undesirable and wrap everything except the comment header in the suggested conditional.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hide a specific plugin from Registered users or subscribers.’ is closed to new replies.