Constructor which calls helper methods to set up object variables.
Source
public function __construct() {
$this->init();
$this->register_globals();
}
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
CARVIEW |
Constructor which calls helper methods to set up object variables.
public function __construct() {
$this->init();
$this->register_globals();
}
Uses | Description |
---|---|
WP_Locale::register_globals()wp-includes/class-wp-locale.php | Global variables are deprecated. |
WP_Locale::init()wp-includes/class-wp-locale.php | Sets up the translated strings and object properties. |
Used by | Description |
---|---|
WP_Locale_Switcher::change_locale()wp-includes/class-wp-locale-switcher.php | Changes the site’s locale to the given one. |
wp_load_translations_early()wp-includes/load.php | Attempts an early load of translations. |
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.