WordPress at Your Fingertips
function is not described

ActionScheduler_Store_Deprecated::get_local_timezone() protected WC 1.0

Deprecated from version 2.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Get the site's local time.

{} It's a method of the class: ActionScheduler_Store_Deprecated{}

No Hooks.

Return

DateTimeZone.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_local_timezone();

Changelog

Deprecated 2.1.0

Code of ActionScheduler_Store_Deprecated::get_local_timezone() WC 6.1.1

protected function get_local_timezone() {
	_deprecated_function( __FUNCTION__, '2.1.0', 'ActionScheduler_TimezoneHelper::set_local_timezone()' );
	return ActionScheduler_TimezoneHelper::get_local_timezone();
}