WP_Locale::register_globals

Advertisement

Deprecated Deprecated

This method has been deprecated. For backward compatibility only instead.

Summery Summery

Global variables are deprecated.

Syntax Syntax

WP_Locale::register_globals()

Description Description

For backward compatibility only.

Source Source

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

	public function register_globals() {
		$GLOBALS['weekday']         = $this->weekday;
		$GLOBALS['weekday_initial'] = $this->weekday_initial;
		$GLOBALS['weekday_abbrev']  = $this->weekday_abbrev;
		$GLOBALS['month']           = $this->month;
		$GLOBALS['month_abbrev']    = $this->month_abbrev;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply