Created
May 13, 2018 14:02
-
-
Save hwkdev/cc134d82ae252eccfc0bf8edc8ba3415 to your computer and use it in GitHub Desktop.
Revisions
-
hwkdev created this gist
May 13, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ <?php add_action('init', 'hwk_author_rewrite_base'); function hwk_author_rewrite_base(){ global $wp_rewrite; $wp_rewrite->author_base = 'user'; }