Automattic\WooCommerce\Blocks\Domain\Services
CheckoutFieldsAdmin::__construct()
Sets up core fields.
Method of the class: CheckoutFieldsAdmin{}
No Hooks.
Return
null
. Nothing (null).
Usage
$CheckoutFieldsAdmin = new CheckoutFieldsAdmin(); $CheckoutFieldsAdmin->__construct( $checkout_fields_controller );
- $checkout_fields_controller(CheckoutFields) (required)
- Instance of the checkout field controller.
CheckoutFieldsAdmin::__construct() CheckoutFieldsAdmin:: construct code WC 9.7.1
public function __construct( CheckoutFields $checkout_fields_controller ) { $this->checkout_fields_controller = $checkout_fields_controller; }