WC_Customer::set_last_name()
Set customer's last name.
Method of the class: WC_Customer{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->set_last_name( $last_name );
- $last_name(string) (required)
- Last name.
Changelog
Since 3.0.0 | Introduced. |
WC_Customer::set_last_name() WC Customer::set last name code WC 9.4.2
public function set_last_name( $last_name ) { $this->set_prop( 'last_name', $last_name ); }