wordpress plugins localization
Nov 01 2008From WordPress documentation:
If your plugin isn’t in its own subdirectory, you can leave out the second argument of load_plugin_textdomain.
They mean plugin subdirectory as its directory in wp-content/plugins, so you need to use function like load_plugin_textdomain($domain, false, $dir), where $dir – relative path to plugin directory from wp-content/plugins.




Recent Comments