WC_Admin_List_Table_Orders::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Admin_List_Table_Orders{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Admin_List_Table_Orders::__construct() code WC 8.6.1

public function __construct() {
	parent::__construct();
	$this->orders_list_table = wc_get_container()->get( ListTable::class );
	add_action( 'admin_notices', array( $this, 'bulk_admin_notices' ) );
	add_action( 'admin_footer', array( $this, 'order_preview_template' ) );
	add_filter( 'get_search_query', array( $this, 'search_label' ) );
	add_filter( 'query_vars', array( $this, 'add_custom_query_var' ) );
	add_action( 'parse_query', array( $this, 'search_custom_fields' ) );
}