Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFieldsSchema
DocumentObject::set_customer()
Set the customer object.
Метод класса: DocumentObject{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$DocumentObject = new DocumentObject(); $DocumentObject->set_customer( $customer );
- $customer(WC_Customer) (обязательный)
- The customer object.
Код DocumentObject::set_customer() DocumentObject::set customer WC 9.8.4
public function set_customer( WC_Customer $customer ) { $this->customer = $customer; }