Method
Get an attribute.
get_attribute( string $key )
public
Parameters
-
$keystring - The attribute key.
Return
string|bool
The attribute value or false if it doesn't exist.
Source
public function get_attribute( $key ) {
if ( isset( $this->attributes[ $key ] ) ) {
return $this->attributes[ $key ];
}
return false;
} View src/includes/class-theme-my-login-form.php, line 248 on GitHub
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |