WC_Admin_List_Table_Products::filter_downloadable_post_clauses()
Filter by type.
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->filter_downloadable_post_clauses( $args );
- $args(array) (required)
- Query args.
WC_Admin_List_Table_Products::filter_downloadable_post_clauses() WC Admin List Table Products::filter downloadable post clauses code WC 9.4.2
public function filter_downloadable_post_clauses( $args ) { $args['join'] = $this->append_product_sorting_table_join( $args['join'] ); $args['where'] .= ' AND wc_product_meta_lookup.downloadable=1 '; return $args; }