Automattic\WooCommerce\Internal\Admin\ProductReviews

ReviewsListTable::no_items()publicWC 1.0

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

Метод класса: ReviewsListTable{}

No Hooks.

Return

null. Nothing.

Usage

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

Notes

Code of ReviewsListTable::no_items() WC 7.1.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' );
	}
}