woocommerce_taxonomy_args_product_type
Usage
add_filter( 'woocommerce_taxonomy_args_product_type', 'wp_kama_woocommerce_taxonomy_args_product_type_filter' ); /** * Function for `woocommerce_taxonomy_args_product_type` filter-hook. * * @param $array * * @return */ function wp_kama_woocommerce_taxonomy_args_product_type_filter( $array ){ // filter... return $array; }
- $array
- -
Where the hook is called
woocommerce_taxonomy_args_product_type
woocommerce/includes/class-wc-post-types.php 57-68
apply_filters( 'woocommerce_taxonomy_args_product_type', array( 'hierarchical' => false, 'show_ui' => false, 'show_in_nav_menus' => false, 'query_var' => is_admin(), 'rewrite' => false, 'public' => false, 'label' => _x( 'Product type', 'Taxonomy name', 'woocommerce' ), ) )