WC_Admin_List_Table_Products::add_custom_query_var()
Query vars for custom searches.
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.
WC_Admin_List_Table_Products::add_custom_query_var() WC Admin List Table Products::add custom query var code WC 9.4.2
public function add_custom_query_var( $public_query_vars ) { $public_query_vars[] = 'sku'; return $public_query_vars; }