'; $academy_field_html .= '
'; $academy_comment_form['fields'][ $academy_key ] = $academy_field_html; } $academy_login_page_url = wp_login_url( get_permalink() ); if ( $academy_login_page_url ) { /* translators: %s opening and closing link tags respectively */ $academy_comment_form['must_log_in'] = '' . sprintf( esc_html__( 'You must be {{%1$s}}logged in{{%2$s}} to post a review.', 'academy' ), '', '' ) . '
'; } $academy_comment_form['comment_field'] = ''; $academy_comment_form['comment_field'] .= ''; comment_form( apply_filters( 'academy/templates/course_review_comment_form_args', $academy_comment_form ) ); ?>