W3cubDocs

/WordPress

WP_Locale::__construct()

Constructor which calls helper methods to set up object variables.

Source

File: wp-includes/class-wp-locale.php

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

Changelog

Version Description
2.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_locale/__construct