Method
Unregister a form.
unregister_form( string|Theme_My_Login_Form $form )
public
Parameters
-
$formstring|Theme_My_Login_Form - The form name or object.
Source
public function unregister_form( $form ) {
if ( $form instanceof Theme_My_Login_Form ) {
unset( $this->forms[ $form->get_name() ] );
} else {
unset( $this->forms[ $form ] );
}
} View src/includes/class-theme-my-login.php, line 171 on GitHub
Uses
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |