WC_Data::get_clone_mode
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() WC Data::get clone mode code WC 10.8.1
public function get_clone_mode() {
return $this->clone_mode;
}