Created
April 7, 2016 19:01
-
-
Save digitalinkwell/1005d45cb0bacac03a676da4342b2474 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 | |
function load_plugin_textdomain() { | |
load_plugin_textdomain( 'sample-plugin', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); | |
} | |
add_action( 'plugins_loaded', 'load_plugin_textdomain' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment