2020-05-02 / 4441阅 / 悠然
加载插件的翻译字符串。
如果未给出路径,则它将是插件目录的根目录。
.mo文件应基于>
(string)
(Required)
Unique identifier for retrieving translated strings
(string|false)
(Optional)
Deprecated. Use the $plugin_rel_path parameter instead.
Default value: false
(string|false)
(Optional)
Relative path to WP_PLUGIN_DIR where the .mo file resides.
Default value: false
(bool) True when textdomain is successfully loaded, false otherwise.