wc_order_types

wc_order_types

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('wc_order_types') is found 1 times:

  • /includes/wc-order-functions.php line 264
    			$order_types = array_keys( $wc_order_types );
    			break;
    	}
    
    	return apply_filters( 'wc_order_types', $order_types, $for );
    }
    
    /**
     * Get an order type by post type name.
     *
     * @param  string $type Post type name.