Method
Get a form.
get_form( string $form )
public
Parameters
-
$formstring - The form name.
Return
Theme_My_Login_Form|bool
The form object if it exists or false otherwise.
Source
public function get_form( $form ) {
if ( isset( $this->forms[ $form ] ) ) {
return $this->forms[ $form ];
}
return false;
} View src/includes/class-theme-my-login.php, line 187 on GitHub
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |