WP_Locale::__construct() In this article Table of ContentsSource Related Changelog ↑ Back to top Constructor which calls helper methods to set up object variables. Source public function __construct() { $this->init(); $this->register_globals(); } View all references View on Trac View on GitHub Related UsesDescriptionWP_Locale::register_globals()wp-includes/class-wp-locale.phpGlobal variables are deprecated. WP_Locale::init()wp-includes/class-wp-locale.phpSets up the translated strings and object properties. Used byDescriptionWP_Locale_Switcher::change_locale()wp-includes/class-wp-locale-switcher.phpChanges the site’s locale to the given one. wp_load_translations_early()wp-includes/load.phpAttempts an early load of translations. Changelog VersionDescription2.1.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.