ActionScheduler_Store_Deprecated::get_local_timezoneprotectedWC 1.0

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

Get the site's local time.

Method of the class: ActionScheduler_Store_Deprecated{}

No Hooks.

Returns

DateTimeZone.

Usage

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

Changelog

Deprecated since 2.1.0

ActionScheduler_Store_Deprecated::get_local_timezone() code WC 10.8.1

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