• Hi,

    Hope you are fine.
    How to conditionally disable plugin, pages like login/admin and front end is not clickable, when user is logged in.

    I tried with below code with different post id but not working.

    add_filter('wpmeteor_enabled', function ($value) {
        global $post;
        if ($post && $post->ID == 1) {
            return false;
        }
        return $value;
    });

    Thanks
    Shakeel

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to exclude pages’ is closed to new replies.