WOOF_User :: registered( String $format = null )
Returns:
-
String
A formatted date, if format is provided.
-
Integer
A timestamp of the date otherwise.
Retrieves the date this user was created in WordPress. If the format parameter is provided this will return a formatted date according to this string, otherwise a timestamp representing the date is returned.
The format string uses the same format as the PHP date function, with the same token extensions supported by the WOOF::date_format.
Parameters:
-
String $format = null
A string to format the date.