Created
March 29, 2019 08:24
-
-
Save doitonlinemedia/2440e50554f012c84b1a0b52121ae1c2 to your computer and use it in GitHub Desktop.
change search base url
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 characters
function change_search_url() { | |
$GLOBALS['wp_rewrite']->search_base = 'zoeken'; | |
} | |
add_action( 'init', 'change_search_url' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment