WC_Data::get_clone_modepublicWC 10.4.0

Get the current clone mode.

Method of the class: WC_Data{}

No Hooks.

Returns

String. The current clone mode (one of the CLONE_MODE_* constants).

Usage

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

Changelog

Since 10.4.0 Introduced.

WC_Data::get_clone_mode() code WC 10.8.1

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