Created
August 26, 2019 14:09
-
-
Save stefanpejcic/a3d7a5fede3c4f5adcb3cc6d90dabebe to your computer and use it in GitHub Desktop.
flush rewrite rules
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
function my_flush() { | |
flush_rewrite_rules(); | |
} | |
add_action(\'init\',\'my_flush\'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment