[wp-hackers] WordPress 3 - comment_form hooks
wp at andrewnacin.com
Sun May 23 21:15:04 UTC 2010
What are you trying to detect, when, and why? If you want to know whether
the hook was fired, you can use did_action(). If you want to know whether
the new comment_form exists, try checking if comment_form exists. If you
want to actually attach onto the comment_form action, then simply do so.
On Sun, May 23, 2010 at 4:43 PM, Jeff Rose <mirepup at gmail.com> wrote:
> Just curious if someone can suggest the proper way of supporting the
> upcoming new hooks to comment_form in WordPress 3, while supporting
> How could a plugin know if the comment_form action was called and is
> hookable (ie: add or remove fields), versus the traditional HTML output?
> Or am I missing something obvious?
More information about the wp-hackers