Method
Remove an attribute.
remove_attribute( string $key )
public
Parameters
-
$keystring - The attribute key.
Source
public function remove_attribute( $key ) {
if ( isset( $this->attributes[ $key ] ) ) {
unset( $this->attributes[ $key ] );
}
} View src/includes/class-theme-my-login-form.php, line 234 on GitHub
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |