WC_Email_Customer_Partially_Refunded_Order::get_option_key │ public │ WC 2.6.0

Return the name of the option in the WP DB.

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

Хуков нет.

Возвращает

string.

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

$WC_Email_Customer_Partially_Refunded_Order = new WC_Email_Customer_Partially_Refunded_Order();
$WC_Email_Customer_Partially_Refunded_Order->get_option_key();

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

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

Код WC_Email_Customer_Partially_Refunded_Order::get_option_key() WC 11.2.2

public function get_option_key() {
	$id = 'customer_refunded_order';
	// we need to continue using the parent class's id because we want to maintain backwards compatibility
	// and allow the parent class continue managing the settings options for this class.
	// We can remove this once we have migrated all the settings options to this class.
	return $this->plugin_id . $id . '_settings';
}