settings = array( array('field'=>'title', 'class'=> 'bg-dark2 text-light', 'class_title'=>'text-light font-weight-light h4', 'label'=> __("Give reward for creating account",'advanced-wallet-for-woocommerce'), 'type'=>"setting_category"), [ 'field' => 'pisol_aww_enable_registration_reward', 'label' => __('Registration Reward Program', 'advanced-wallet-for-woocommerce'), 'type' => 'switch', 'default' => false, 'desc' => __('Run registration reward program on your store', 'advanced-wallet-for-woocommerce') ], [ 'field' => 'pisol_aww_registration_reward_amount', 'label' => __('Reward Amount', 'advanced-wallet-for-woocommerce'), 'type' => 'number', 'default' => 0, 'desc' => __('Amount to reward for registration', 'advanced-wallet-for-woocommerce'), 'min' => 0 ], [ 'field' => 'pisol_aww_registration_reward_expires_in_days', 'label' => __('Registration Reward Expiration (Days)', 'advanced-wallet-for-woocommerce'), 'type' => 'number', 'default' => 30, 'desc' => __('Number of days before the registration reward expires', 'advanced-wallet-for-woocommerce'), 'min' => 0 ] ); } }