Settings::is_test_mode()

Determine whether Tickets Commerce is in test mode.


Return

(bool) Whether Tickets Commerce is in test mode.


Top ↑

Source

File: src/Tickets/Commerce/Settings.php

	public static function is_test_mode() {
		return tribe_is_truthy( tribe_get_option( static::$option_sandbox ) );
	}

Top ↑

Changelog

Changelog
Version Description
5.3.0 moved to Settings class
5.1.6 Introduced.