How to know what functions are hooked to an action/filter?

Posted by Prem Tiwari | Updated on

Look into the global variable $wp_filter. See my plugin for a list of all comment filters for an example:

’;
$toc .= “

  • $name
  • “;
    }

    print “$h1$toc

    $out”;
    }

    Sample output for pre_comment_author_email:


    If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

    Related Questions & Answers