* @copyright Copyright 2014, Chris Aprea * @link http://wpaxl.com/themes/adoration * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /** * Start wrapper for the comments section. * * @since 1.0.0 * @access public * @return void */ function adoration_before_comments_wrapper() { // Allow developers to short-circuit this function. $pre = apply_filters( 'adoration_pre_before_comments_wrapper', false ); if ( false !== $pre ) { echo $pre; return; } ?>
' . esc_html__( 'Required fields are marked %s', 'adoration' ), '*' ); $args = array( 'comment_notes_before' => '
' . esc_html__( 'Your email address will not be published.', 'adoration' ) . '' . ( $req ? $required_text : '' ) . '
', 'comment_notes_after' => '' . sprintf( wp_kses( __( 'You may use these HTML tags and attributes: %s', 'adoration' ), array( 'abbr' => array() ) ), '
', 'comment_field' => $comment_field, 'fields' => $fields, 'title_reply' => esc_html__( 'Post Comment', 'adoration' ), 'logged_in_as' => '', ); $args = apply_filters( 'adoration_comment_form_args', $args ); comment_form( $args ); } /** * End wrapper for the comments section. * * @since 1.0.0 * @access public * @return void */ function adoration_after_comments_wrapper_end() { // Allow developers to short-circuit this function. $pre = apply_filters( 'adoration_pre_before_comments_wrapper_end', false ); if ( false !== $pre ) { echo $pre; return; } ?>' . allowed_tags() . '' ) . '