WC_Customer::set_first_name
Set customer's first name.
Method of the class: WC_Customer{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->set_first_name( $first_name );
- $first_name(string) (required)
- First name.
Changelog
| Since 3.0.0 | Introduced. |
WC_Customer::set_first_name() WC Customer::set first name code WC 10.6.2
public function set_first_name( $first_name ) {
$this->set_prop( 'first_name', $first_name );
}