_msg

Print or return the message formatted with HTML

Parameters
mixed $msg

A message string or Array of message strings

#
string $class = 'error'

The CSS class name

#
mixed $return = null

What is expected to return from this function. null (default) no return and just print it. html return HTML.

#
string $display = null

CSs display property value - block, none, inline-block, etc.

#
Returns
string

The formatted date