• Resolved finebyme

    (@finebyme)


    Is there a feature where the redirect feature when countdown expired is excluded on admin users?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hi @finebyme

    In the plugin settings under HurryTimer > Settings, turn on the option Disable actions in the admin area. This will make the plugin to not run expiry actions including Redirects when editing or pre-viewing a page.

    You can also add the code snippet below ( to your child theme functions.php under Appearance menu > Theme Editor or use the Code Snippets plugin) to disable actions for admins on all pages:

    add_filter('hurryt_disable_actions', function ($disable) {
        if (current_user_can('manage_options')) {
            return true;
        }
        return $disable;
    });
    Thread Starter finebyme

    (@finebyme)

    I applied the code and it worked!

    Thanks, boss for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude admins from redirect?’ is closed to new replies.