woocommerce_product_review_comment_form_args

woocommerce_product_review_comment_form_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_review_comment_form_args') is found 1 times:

  • /templates/single-product-reviews.php line 136
    				}
    
    				$comment_form['comment_field'] .= '<p class="comment-form-comment"><label for="comment">' . esc_html__( 'Your review', 'woocommerce' ) . '&nbsp;<span class="required">*</span></label><textarea id="comment" name="comment" cols="45" rows="8" required></textarea></p>';
    
    				comment_form( apply_filters( 'woocommerce_product_review_comment_form_args', $comment_form ) );
    				?>
    			</div>
    		</div>
    	<?php else : ?>
    		<p class="woocommerce-verification-required"><?php esc_html_e( 'Only logged in customers who have purchased this product may leave a review.', 'woocommerce' ); ?></p>
    	<?php endif; ?>