Automattic\WooCommerce\Internal\Admin\ProductReviews

ReviewsListTable::no_items()publicWC 1.0

Outputs the text to display when there are no reviews to display.

Method of the class: ReviewsListTable{}

No Hooks.

Return

null. Nothing (null).

Usage

$ReviewsListTable = new ReviewsListTable();
$ReviewsListTable->no_items() : void;

Notes

ReviewsListTable::no_items() code WC 8.7.0

public function no_items() : void {
	global $comment_status;

	if ( 'moderated' === $comment_status ) {
		esc_html_e( 'No reviews awaiting moderation.', 'woocommerce' );
	} else {
		esc_html_e( 'No reviews found.', 'woocommerce' );
	}
}