Footnote-add-footnote is an interactive compiled Lisp function in `footnote.el'.

(Footnote-add-footnote &optional ARG)

Add a numbered footnote.
The number the footnote receives is dependent upon the relative location
of any other previously existing footnotes.
If the variable `footnote-narrow-to-footnotes-when-editing' is set,
the buffer is narrowed to the footnote body. The restriction is removed
by using `Footnote-back-to-message'.