GetRuleProcessor::get_processor( string $rule_type )
Get the processor for the specified rule type.
Description Description
Parameters Parameters
- $rule_type
-
(Required) The rule type.
Return Return
(AutomatticWooCommerceAdminRemoteInboxNotificationsRuleProcessorInterface) The matching processor for the specified rule type, or a FailRuleProcessor if no matching processor is found.
Source Source
File: packages/woocommerce-admin/src/RemoteInboxNotifications/GetRuleProcessor.php