WordPress at Your Fingertips
function is not described

WC_Settings_Emails::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Settings_Emails::__construct() WC 5.9.0

public function __construct() {
	$this->id    = 'email';
	$this->label = __( 'Emails', 'woocommerce' );

	add_action( 'woocommerce_admin_field_email_notification', array( $this, 'email_notification_setting' ) );
	parent::__construct();
}