ad-enable-advice-internal is a compiled Lisp function in `advice.el'.

(ad-enable-advice-internal FUNCTION CLASS NAME FLAG)

Set enable FLAG of FUNCTION's advices in CLASS matching NAME.
If NAME is a string rather than a symbol then it's interpreted as a regular
expression and all advices whose name contain a match for it will be
affected. If CLASS is `any' advices in all valid advice classes will be
considered. The number of changed advices will be returned (or nil if
FUNCTION was not advised).