Created
October 30, 2017 08:25
-
-
Save axxe16/ccfa4e0da98a431e26dbe3642c6dcccf to your computer and use it in GitHub Desktop.
Permette il redirect in qualunque punto #redirect #wp #wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// *F001* filtro per permettere il redirect | |
//allow redirection, even if your theme starts to send output to the browser | |
add_action('init', 'clean_output_buffer'); | |
function clean_output_buffer() { | |
ob_start(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment