ad-read-advice-class

ad-read-advice-class is a compiled Lisp function in `advice.el'.

(ad-read-advice-class FUNCTION &optional PROMPT DEFAULT)

Read a valid advice class with completion from the minibuffer.
An optional PROMPT will be used to prompt for the class. DEFAULT will
be returned on empty input (defaults to the first non-empty advice
class of FUNCTION).