Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: comment_form_field_comment

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
2108                               <?php endif; ?>
2109                               <?php
2110                               /**
2111                                * Filter the content of the comment textarea field for display.
2112                                *
2113                                * @since 3.0.0
2114                                *
2115                                * @param string $args['comment_field'] The content of the comment textarea field.
2116                                */
2117                               echo apply_filters( 'comment_form_field_comment', $args['comment_field'] );
2118                               ?>
2119                               <?php echo $args['comment_notes_after']; ?>
2120                               <p class="form-submit">
2121                                    <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
2122                                    <?php comment_id_fields( $post_id ); ?>
2123                               </p>
2124                               <?php
2125                               /**
2126                                * Fires at the bottom of the comment form, inside the closing </form> tag.