Disable auto redirect in “customize.php”
-
Hello.
I disabled the autoredirects in wp-admin to prevent the access to the login url, however, this doesn’t apply just to the file “/wp-admin/customize.php”
This is the code I used:
function remove_default_redirect() { remove_action('template_redirect', 'wp_redirect_admin_locations', 1000); }
Thanks for your time.
I don’t know how to disable this redirect.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable auto redirect in “customize.php”’ is closed to new replies.