WC_Customer::set_first_name()publicWC 3.0.0

Set customer's first name.

Method of the class: WC_Customer{}

No Hooks.

Return

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() code WC 9.3.3

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