WC_Customer::set_first_name()publicWC 3.0.0

Set customer's first name.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WC_Customer = new WC_Customer();
$WC_Customer->set_first_name( $first_name );
$first_name(строка) (обязательный)
First name.

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

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

Код WC_Customer::set_first_name() WC 8.7.0

public function set_first_name( $first_name ) {
	$this->set_prop( 'first_name', $first_name );
}