woocommerce_register_taxonomy

woocommerce_register_taxonomy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_register_taxonomy') is found 1 times:

  • /includes/class-wc-post-types.php line 49
    		if ( taxonomy_exists( 'product_type' ) ) {
    			return;
    		}
    
    		do_action( 'woocommerce_register_taxonomy' );
    
    		$permalinks = wc_get_permalink_structure();
    
    		register_taxonomy(
    			'product_type',
    			apply_filters( 'woocommerce_taxonomy_objects_product_type', array( 'product' ) ),