WC_Customer::set_password()publicWC 3.0.0

Set customer's password.

Method of the class: WC_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->set_password( $password );
$password(string) (required)
Password.

Changelog

Since 3.0.0 Introduced.

WC_Customer::set_password() code WC 9.4.2

public function set_password( $password ) {
	$this->password = $password;
}