Function
Get the errors.
tml_get_errors( )
Return
WP_Error
Source
function tml_get_errors() {
$form = tml_get_form();
if ( ! $form ) {
return new WP_Error();
}
return $form->get_errors();
}
Uses
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |