WP_Locale::__construct()publicWP 2.1.0

Constructor which calls helper methods to set up object variables.

Method of the class: WP_Locale{}

No Hooks.

Return

null. Nothing (null).

Usage

global $wp_locale;
$wp_locale->__construct();

Changelog

Since 2.1.0 Introduced.

WP_Locale::__construct() code WP 6.5.2

public function __construct() {
	$this->init();
	$this->register_globals();
}