ap_post_comments()
Description #
A wrapper function for @see ap_the_comments() for using in post templates.
Source #
File: includes/comments.php
function ap_post_comments() { echo '<apcomments id="comments-' . esc_attr( get_the_ID() ) . '" class="have-comments">'; ap_the_comments( null, array(), true ); echo '</apcomments>'; // New comment button. echo ap_comment_btn_html( get_the_ID() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped }
Expand full source code Collapse full source code View on GitHub: includes/comments.php:435
Add your comment