WC_Data::get_clone_modepublicWC 10.4.0

Get the current clone mode.

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

Хуков нет.

Возвращает

Строку. The current clone mode (one of the CLONE_MODE_* constants).

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

$WC_Data = new WC_Data();
$WC_Data->get_clone_mode();

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

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

Код WC_Data::get_clone_mode() WC 10.5.2

public function get_clone_mode() {
	return $this->clone_mode;
}