The date_range() function is a bit broken
Neither $unix_time nor $start_date were defined here
It looks like this should be $alter_type here
$element not $focus there
and you can't have required params after an optional one
Required arg in between optional ones
Required args after optional ones
values_parsing() only takes 1 arg
highlight_code() doesn't take an ENT_QUOTES arg