WC_Settings_Payment_Gateways::__construct()
Constructor.
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();
WC_Settings_Payment_Gateways::__construct() WC Settings Payment Gateways:: construct code WC 7.5.1
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_banner', array( $this, 'payment_gateways_banner' ) ); add_action( 'woocommerce_admin_field_payment_gateways', array( $this, 'payment_gateways_setting' ) ); parent::__construct(); }