WC_Customer::set_first_name
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 Customer::set first name WC 11.0.1
public function set_first_name( $first_name ) {
$this->set_prop( 'first_name', $first_name );
}