WC_Shipping_Method::get_instance_option_key()publicWC 2.6.0

Return the name of the option in the WP DB.

Метод класса: WC_Shipping_Method{}

Хуков нет.

Возвращает

Строку.

Использование

$WC_Shipping_Method = new WC_Shipping_Method();
$WC_Shipping_Method->get_instance_option_key();

Список изменений

С версии 2.6.0 Введена.

Код WC_Shipping_Method::get_instance_option_key() WC 8.7.0

public function get_instance_option_key() {
	return $this->instance_id ? $this->plugin_id . $this->id . '_' . $this->instance_id . '_settings' : '';
}