Ad
  • Custom User Avatar

    It's a good solution but would break if the input is a number for example.
    If it where a string the concat function would still work but the result might be unexpected.
    Best to test if its actually an array and provide a useful error message if its an unexpected param.