Created
March 10, 2020 16:42
-
-
Save sae13/bb79f44c2649aa55465ce07bcb48180f to your computer and use it in GitHub Desktop.
load wordpress plugin text domain on init
This file contains 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
{ | |
load_plugin_textdomain('gflimitbyday', | |
false, | |
basename(dirname(__FILE__)) . '/languages'); | |
} | |
add_action('init','gflimitbyday_add_languages'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment