load_plugin_textdomain Wordpress function


Description:

Loads the plugin's translated strings.


Syntax:


Arguments:

(string) $domain Unique identifier for retrieving translated strings
(string) $abs_rel_path Optional. Relative path to ABSPATH of a folder, where the .mo file resides. Deprecated, but still functional until 2.7
(string) $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR. This is the preferred argument to use. It takes precedence over $abs_rel_path


Return Type:


Define At:

wp-includes/l10n.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/load_plugin_textdomain


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×