woocommerce_review_before_comment_meta
The woocommerce_review_before_comment_meta hook.
Usage
add_action( 'woocommerce_review_before_comment_meta', 'wp_kama_woocommerce_review_before_comment_meta_action' ); /** * Function for `woocommerce_review_before_comment_meta` action-hook. * * @param $comment * * @return void */ function wp_kama_woocommerce_review_before_comment_meta_action( $comment ){ // action... }
- $comment
- -
Where the hook is called
In file: /templates/single-product/review.php
woocommerce_review_before_comment_meta
woocommerce/templates/single-product/review.php 45
do_action( 'woocommerce_review_before_comment_meta', $comment );
Where the hook is used in WooCommerce
woocommerce/includes/wc-template-hooks.php 167
add_action( 'woocommerce_review_before_comment_meta', 'woocommerce_review_display_rating', 10 );