Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: comment_form_after

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1668                               <?php echo $args['comment_notes_after']; ?>
1669                               <p class="form-submit">
1670                                    <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
1671                                    <?php comment_id_fields( $post_id ); ?>
1672                               </p>
1673                               <?php do_action( 'comment_form', $post_id ); ?>
1674                          </form>
1675                     <?php endif; ?>
1676                </div><!-- #respond -->
1677                <?php do_action( 'comment_form_after' ); ?>
1678           <?php else : ?>
1679                <?php do_action( 'comment_form_comments_closed' ); ?>
1680           <?php endif; ?>
1681      <?php
1682 }
1683