WC_Shipping_Method::get_instance_option_key
Return the name of the option in the WP DB.
Метод класса: WC_Shipping_Method{}
Хуков нет.
Возвращает
string.
Использование
$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 Shipping Method::get instance option key WC 11.3.0
public function get_instance_option_key() {
return $this->instance_id ? $this->plugin_id . $this->id . '_' . $this->instance_id . '_settings' : '';
}