WordPress at Your Fingertips
function is not described

WC_Legacy_Customer::set_default_data() public WC 1.0

Set default data for a customer.

{} It's a method of the class: WC_Legacy_Customer{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->set_default_data();

Code of WC_Legacy_Customer::set_default_data() WC 5.7.1

public function set_default_data() {
	wc_deprecated_function( 'WC_Customer::set_default_data', '3.0' );
}