WC_Customer::set_password()
Set customer's password.
{} It's a method of the class: WC_Customer{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->set_password( $password );
- $password(string) (required)
- Password.
Changelog
Since 3.0.0 | Introduced. |
Code of WC_Customer::set_password() WC Customer::set password WC 6.7.0
public function set_password( $password ) { $this->password = $password; }