WordPress at Your Fingertips
function is not described

WC_Settings_Payment_Gateways::__construct() public WC 1.0

Constructor.

{} It's a method of the class: WC_Settings_Payment_Gateways{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Settings_Payment_Gateways::__construct() WC 5.9.0

public function __construct() {
	$this->id    = 'checkout'; // @todo In future versions this may make more sense as 'payment' however to avoid breakage lets leave this alone until we refactor settings APIs in general.
	$this->label = _x( 'Payments', 'Settings tab label', 'woocommerce' );

	add_action( 'woocommerce_admin_field_payment_gateways', array( $this, 'payment_gateways_setting' ) );
	parent::__construct();
}