Created
January 24, 2025 04:53
-
-
Save jkohlbach/5fae46aa5ec859a9a4ea783e54ce8702 to your computer and use it in GitHub Desktop.
No translation disable pre_load_textdomain speed hack
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
/** | |
* If we don't have translation, disable pre_load_textdomain to speed up the site. | |
*/ | |
add_filter( 'pre_load_textdomain', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're welcome! Great result!