WC_Shipping_Zone_Data_Store_Interface::get_method_count()
Get count of methods for a zone.
Метод класса: WC_Shipping_Zone_Data_Store_Interface{}
Хуков нет.
Возвращает
int
. Method Count
Использование
$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) (обязательный)
- Zone ID.
Код WC_Shipping_Zone_Data_Store_Interface::get_method_count() WC Shipping Zone Data Store Interface::get method count WC 9.6.0
public function get_method_count( $zone_id );