WC_Admin_List_Table_Products::__construct()
Constructor.
Метод класса: WC_Admin_List_Table_Products{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Admin_List_Table_Products = new WC_Admin_List_Table_Products(); $WC_Admin_List_Table_Products->__construct();
Код WC_Admin_List_Table_Products::__construct() WC Admin List Table Products:: construct WC 8.7.0
public function __construct() { parent::__construct(); add_filter( 'disable_months_dropdown', '__return_true' ); add_filter( 'query_vars', array( $this, 'add_custom_query_var' ) ); add_filter( 'views_edit-product', array( $this, 'product_views' ) ); add_filter( 'get_search_query', array( $this, 'search_label' ) ); add_filter( 'posts_clauses', array( $this, 'posts_clauses' ), 10, 2 ); }