a guest Nov 22nd, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- //Ensure the $wp_rewrite global is loaded
- global $wp_rewrite;
- //Call flush_rules() as a method of the $wp_rewrite object
- $wp_rewrite->flush_rules( false );
RAW Paste Data