WC_Shipping_Zone_Data_Store_Interface::get_method_count()
Get count of methods for a zone.
Method of the class: WC_Shipping_Zone_Data_Store_Interface{}
No Hooks.
Return
Int
. Method Count
Usage
$WC_Shipping_Zone_Data_Store_Interface = new WC_Shipping_Zone_Data_Store_Interface(); $WC_Shipping_Zone_Data_Store_Interface->get_method_count( $zone_id );
- $zone_id(int) (required)
- Zone ID.
WC_Shipping_Zone_Data_Store_Interface::get_method_count() WC Shipping Zone Data Store Interface::get method count code WC 8.7.0
public function get_method_count( $zone_id );