WC_Admin_List_Table_Orders::__construct()publicWC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Admin_List_Table_Orders::__construct() WC 6.7.0

public function __construct() {
	parent::__construct();
	$this->orders_list_table = new ListTable();
	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' ) );
}