wc_order_types

wc_order_types

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('wc_order_types') is found 1 times:

  • /includes/wc-order-functions.php line 266
    			$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.