WC_Admin_List_Table_Products::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Admin_List_Table_Products{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Admin_List_Table_Products::__construct() code WC 9.3.3

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 );
	add_action( 'manage_product_posts_custom_column', array( $this, 'add_sample_product_badge' ), 9, 2 );
}