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.


Top ↑

Source

File: wp-admin/includes/class-wp-filesystem-base.php

	public function wp_lang_dir() {
		return $this->find_folder( WP_LANG_DIR );
	}


Top ↑

Changelog

Changelog
VersionDescription
3.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.