ACF\Pro\Forms

WC_Order::__construct │ public │ ACF 6.4

Constructs the ACF_Form_WC_Order class.

Method of the class: WC_Order{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 6.4 Introduced.

WC_Order::__construct() code ACF 6.8.8

public function __construct() {
	add_action( 'load-woocommerce_page_wc-orders', array( $this, 'initialize' ) );
	add_action( 'load-woocommerce_page_wc-orders--shop_subscription', array( $this, 'initialize' ) );
}