redirect url
-
Hello,
I have a code snippet and want add a redirect in a wp_die() function.
The reason: i have a maintenance page and want, if maintenance is enable, show a wp page or static html page.example:
wp_die(redirect('path/to/page'));
How can i make this redirect in ‘wp_die’?
Christophe
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘redirect url’ is closed to new replies.