Wiktionary
user-defined function
n. (context computing English) A program or subroutine that returns the value of a function
Wikipedia
User-defined function
A user-defined function (UDF) is a function provided by the user of a program or environment, in a context where the usual assumption is that functions are built into the program or environment.