Method
Set the field error message.
set_error( string $error = '' )
public
Parameters
-
$errorstring Default'' - The field error message.
Source
public function set_error( $error = '' ) {
$this->error = $error;
} View src/includes/class-theme-my-login-form-field.php, line 335 on GitHub
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |