woocommerce_product_category_metabox_search_threshold, 5
woocommerce_product_category_metabox_search_threshold, 5
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_product_category_metabox_search_threshold, 5') is found 1 times:
- /includes/admin/meta-boxes/class-wc-meta-box-product-categories.php line 48
* * @param number $threshold The default threshold. * @returns number The threshold that will be used. */ if ( $categories_count <= apply_filters( 'woocommerce_product_category_metabox_search_threshold', 5 ) && function_exists( 'post_categories_meta_box' ) ) { return post_categories_meta_box( $post, $box ); } $defaults = array( 'taxonomy' => 'category' ); if ( ! isset( $box['args'] ) || ! is_array( $box['args'] ) ) { $args = array();