WordPress at Your Fingertips
function is not described

ActionScheduler::get_datetime_object() public WC 1.0

Deprecated

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

No Hooks.

Return

null. Nothing.

Usage

$result = ActionScheduler::get_datetime_object( $when, $timezone );
$when **
-
Default: null
$timezone **
-
Default: 'UTC'

Code of ActionScheduler::get_datetime_object() WC 6.1.1

public static function get_datetime_object( $when = null, $timezone = 'UTC' ) {
	_deprecated_function( __METHOD__, '2.0', 'wcs_add_months()' );
	return as_get_datetime_object( $when, $timezone );
}