WC_Settings_Point_Of_Sale::__constructpublicWC 1.0

Constructor.

Method of the class: WC_Settings_Point_Of_Sale{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Settings_Point_Of_Sale = new WC_Settings_Point_Of_Sale();
$WC_Settings_Point_Of_Sale->__construct();

WC_Settings_Point_Of_Sale::__construct() code WC 10.3.3

public function __construct() {
	$this->id    = 'point-of-sale';
	$this->label = __( 'Point of Sale', 'woocommerce' );

	parent::__construct();

	add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_settings_page' ), 20 );
}