Свойство | Тип | Описание | |
---|---|---|---|
$product_name |
Свойство | Тип | Описание | |
---|---|---|---|
$logger | WC_Connect_Logger |
Метод | Описание | |
---|---|---|
__construct ( WC_Connect_Logger $logger = null ) | ||
opted_in ( ) | ||
opted_out ( ) | ||
record_user_event ( $event_type, $data = [] ) | ||
saved_service_settings ( $service_id ) | ||
shipping_zone_method_added ( $instance_id, $service_id ) | ||
shipping_zone_method_deleted ( $instance_id, $service_id ) | ||
shipping_zone_method_status_toggled ( $instance_id, $service_id, $zone_id, $enabled ) |
Метод | Описание | |
---|---|---|
log ( $message ) |
public __construct ( WC_Connect_Logger $logger = null ) | ||
$logger | WC_Connect_Logger |
public shipping_zone_method_added ( $instance_id, $service_id ) |
public shipping_zone_method_deleted ( $instance_id, $service_id ) |
public shipping_zone_method_status_toggled ( $instance_id, $service_id, $zone_id, $enabled ) |