WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A plugin I want to use has a filter like so:


The theme I'm using doesn't use the comment_form() call and I believe that this means the filter isn't being called. The yoast_track_comment_form just adds some jquery tracking, so what is the best way to trigger it.

Should I just call it directly from within the plugin code?

share|improve this question
up vote 1 down vote accepted

You can simply place the hook yourself in your theme (or better: Child theme) template:

do_action( 'comment_form_after' );
share|improve this answer
This worked. Thank you for showing me how to trigger these events. – Adam Nov 22 '11 at 1:04
@Adam Could you please mark it as solved? – kaiser Nov 22 '11 at 12:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.