Template Tag: Messages
Display messages collected during single request execution. It can be ‘error’, ‘warning’ messages, and also ’success’ ones.
Example
messages( array(
'before' => '',
'after' => ''
) );
Parameters
- Name: before
- Default: There is no default value.
- Usage: Displayed before messages.
- Name: after
- Default: There is no default value.
- Usage: Displayed after messages.
Return value
This tag displays content only, it does not have a return value.