WC_POS_Admin_Settings_General

WP Checkout Settings Class.

Defined (1)

The class is defined in the following location(s).

/includes/admin/settings/class-wc-pos-general.php  
  1. class WC_POS_Admin_Settings_General extends WC_POS_Admin_Settings_Abstract { 
  2.  
  3. protected static $instance; 
  4.  
  5. /** 
  6. * Each settings tab requires an id and label 
  7. */ 
  8. public function __construct() { 
  9. $this->id = 'general'; 
  10. /** translators: woocommerce */ 
  11. $this->label = __( 'General', 'woocommerce' ); 
  12.  
  13. $this->defaults = array( 
  14. 'discount_quick_keys' => array('5', '10', '20', '25') 
  15. ); 
  16.