Required arg after optional arg

Since $function_name is non-optional, having an optional 1st arg with a default value makes no sense. Setting it to all here if NULL/false/"" is passed in to try to actually make the function do what it claims. Flipping the argument order is probably a better fix.