woocommerce_admin_dashboard_recent_reviews

woocommerce_admin_dashboard_recent_reviews

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_admin_dashboard_recent_reviews') is found 1 times:

  • /includes/admin/class-wc-admin-dashboard.php line 381
    					/* translators: %s: rating */
    					echo '<div class="star-rating"><span style="width:' . esc_attr( $rating * 20 ) . '%">' . sprintf( esc_html__( '%s out of 5', 'woocommerce' ), esc_html( $rating ) ) . '</span></div>';
    
    					/* translators: %s: review author */
    					echo '<h4 class="meta"><a href="' . esc_url( get_permalink( $comment->ID ) ) . '#comment-' . esc_attr( absint( $comment->comment_ID ) ) . '">' . esc_html( apply_filters( 'woocommerce_admin_dashboard_recent_reviews', $comment->post_title, $comment ) ) . '</a> ' . sprintf( esc_html__( 'reviewed by %s', 'woocommerce' ), esc_html( $comment->comment_author ) ) . '</h4>';
    					echo '<blockquote>' . wp_kses_data( $comment->comment_content ) . '</blockquote></li>';
    
    				}
    				echo '</ul>';
    			} else {
    				echo '<p>' . esc_html__( 'There are no product reviews yet.', 'woocommerce' ) . '</p>';