Created
February 21, 2025 18:37
-
-
Save mindctrl/dd27baf78821cd4bc9152773bada66cc to your computer and use it in GitHub Desktop.
Prepends "(DEV)" to blog name
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
add_filter( 'option_blogname', 'jp_dev_blogname' ); | |
/** | |
* Prepend '(DEV) ' to blog name | |
*/ | |
function jp_dev_blogname( $value ): string { | |
return '(DEV) ' . $value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment