ActionScheduler_Store_Deprecated::get_local_timezone()protectedWC 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.

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 since 2.1.0

ActionScheduler_Store_Deprecated::get_local_timezone() code WC 7.3.0

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