Function
Get all form fields.
tml_get_form_fields( string|Theme_My_Login_Form $form )
Parameters
-
$formstring|Theme_My_Login_Form - The form name or object.
Return
array
The form fields or false if the form doesn't exist.
Source
function tml_get_form_fields( $form ) {
$form = tml_get_form( $form );
if ( ! $form ) {
return false;
}
return $form->get_fields();
}
Uses
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |