WP_Filesystem_Base::wp_lang_dir() WordPress Method
The wp_lang_dir() method is used to get the absolute path to the directory for language files. This is typically the wp-content/languages/ directory, but can be changed using the WP_LANG_DIR constant.
WP_Filesystem_Base::wp_lang_dir() #
Returns the path on the remote filesystem of WP_LANG_DIR.
Return
(string) The location of the remote path.
Source
File: wp-admin/includes/class-wp-filesystem-base.php
public function wp_lang_dir() { return $this->find_folder( WP_LANG_DIR ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |