Created
July 20, 2018 10:45
-
-
Save sergeliatko/3b0f3cd0dfb252f2394dffb0da8ede85 to your computer and use it in GitHub Desktop.
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
<?php | |
/** | |
* Load plugin text domain. | |
*/ | |
add_action( 'plugins_loaded', function () { | |
load_plugin_textdomain( 'text-domain', false, basename( dirname( __FILE__ ) . '/languages' ) ); | |
}, 10, 0 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment