Automattic\WooCommerce\Admin\RemoteInboxNotifications

WooCommerceAdminUpdatedRuleProcessor::process()publicWC 1.0

Process the rule.

{} Это метод класса: WooCommerceAdminUpdatedRuleProcessor{}

Хуков нет.

Возвращает

true|false. Whether the rule passes or not.

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

$WooCommerceAdminUpdatedRuleProcessor = new WooCommerceAdminUpdatedRuleProcessor();
$WooCommerceAdminUpdatedRuleProcessor->process( $rule, $stored_state );
$rule(объект) (обязательный)
The specific rule being processed by this rule processor.
$stored_state(объект) (обязательный)
Stored state.

Код WooCommerceAdminUpdatedRuleProcessor::process() WC 7.1.0

public function process( $rule, $stored_state ) {
	return get_option( RemoteInboxNotificationsEngine::WCA_UPDATED_OPTION_NAME, false );
}