Automattic\WooCommerce\Admin\Features\OnboardingTasks

Task::get_snoozed_until()publicWC 1.0

Get the snoozed until datetime.

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

No Hooks.

Return

String.

Usage

$Task = new Task();
$Task->get_snoozed_until();

Code of Task::get_snoozed_until() WC 6.8.2

public function get_snoozed_until() {
	$snoozed_tasks = get_option( self::SNOOZED_OPTION, array() );
	if ( isset( $snoozed_tasks[ $this->get_id() ] ) ) {
		return $snoozed_tasks[ $this->get_id() ];
	}

	return null;
}