WOOF_Site :: last_updated( String $format = null )
Returns:
-
String
A formatted date, if format is provided.
-
Integer
A timestamp of the date otherwise.
Gets the last updated date of this site, as in, when the site options were last changed 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 date_format.
Parameters:
-
String $format = null
A string to format the date.