• Hi,
    It would be great if you could make, in a next release, a hookable function of :
    function check_user_role()
    (in includes/classes/wp-maintenance-mode.php)

    for example, i would like to use a custom function in my themes/functions.php to add a “allowed” case, for example :

    if (WP_ENV == 'development'){
        $is_allowed = true;
     }

    or :

    if (is_front_page()) {
        $is_allowed = true;
    }

    It would be really handy!
    regards

    https://wordpress.org/plugins/wp-maintenance-mode/

  • The topic ‘Easy feature request / hookable function check_user_role()’ is closed to new replies.