Automattic\WooCommerce\Internal\Admin\ProductReviews
ReviewsListTable::no_items()
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
- See: WP_List_Table::no_items()
- Global. String. $comment_status
ReviewsListTable::no_items() ReviewsListTable::no items code WC 9.6.1
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' ); } }