Automattic\WooCommerce\Internal\Admin\Notes

RefundDoubleCountToolNotice::is_applicable │ public static │ WC 1.0

Should this note exist?

The note only nudges merchants who have not run the tool yet.

Метод класса: RefundDoubleCountToolNotice{}

Хуков нет.

Возвращает

bool.

Использование

$result = RefundDoubleCountToolNotice::is_applicable();

Код RefundDoubleCountToolNotice::is_applicable() WC 11.3.0

public static function is_applicable() {
	if ( ! FeaturesUtil::feature_is_enabled( 'analytics' ) ) {
		return false;
	}

	return Analytics::is_refund_double_count_tool_applicable()
		&& '' === Analytics::get_refund_double_count_state()['status'];
}