WC_Admin_List_Table_Products::add_custom_query_var()publicWC 1.0

Query vars for custom searches.

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

No Hooks.

Return

Array.

Usage

$WC_Admin_List_Table_Products = new WC_Admin_List_Table_Products();
$WC_Admin_List_Table_Products->add_custom_query_var( $public_query_vars );
$public_query_vars(mixed) (required)
Array of query vars.

Code of WC_Admin_List_Table_Products::add_custom_query_var() WC 6.7.0

public function add_custom_query_var( $public_query_vars ) {
	$public_query_vars[] = 'sku';
	return $public_query_vars;
}