WordPress at Your Fingertips
function is not described

WC_Customer::set_first_name() public WC 3.0.0

Set customer's first name.

{} It's a method of the class: WC_Customer{}

No Hooks.

Return

null. Nothing.

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.

Code of WC_Customer::set_first_name() WC 6.1.0

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