Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions
DefaultPaymentGateways::get_rules_selling_offline()
Get rules for when selling offline for core profiler.
Method of the class: DefaultPaymentGateways{}
No Hooks.
Return
Object
. Rules to match.
Usage
$result = DefaultPaymentGateways::get_rules_selling_offline();
DefaultPaymentGateways::get_rules_selling_offline() DefaultPaymentGateways::get rules selling offline code WC 9.7.1
public static function get_rules_selling_offline() { return (object) array( 'type' => 'option', 'transformers' => array( (object) array( 'use' => 'dot_notation', 'arguments' => (object) array( 'path' => 'selling_online_answer', ), ), ), 'option_name' => 'woocommerce_onboarding_profile', 'operation' => 'in', 'value' => array( 'no_im_selling_offline', 'im_selling_both_online_and_offline' ), 'default' => '', ); }