WC_Admin_List_Table_Orders::__construct()
Constructor.
Метод класса: WC_Admin_List_Table_Orders{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Admin_List_Table_Orders = new WC_Admin_List_Table_Orders(); $WC_Admin_List_Table_Orders->__construct();
Код WC_Admin_List_Table_Orders::__construct() WC Admin List Table Orders:: construct WC 8.7.0
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' ) ); }