ListTable::render_blank_state()publicWC 1.0

Renders advice in the event that no orders exist yet.

Method of the class: ListTable{}


null. Nothing (null).


$ListTable = new ListTable();
$ListTable->render_blank_state(): void;

ListTable::render_blank_state() code WC 8.7.0

public function render_blank_state(): void {
		<div class="woocommerce-BlankState">

			<h2 class="woocommerce-BlankState-message">
				<?php esc_html_e( 'When you receive a new order, it will appear here.', 'woocommerce' ); ?>

			<div class="woocommerce-BlankState-buttons">
				<a class="woocommerce-BlankState-cta button-primary button" target="_blank" href=""><?php esc_html_e( 'Learn more about orders', 'woocommerce' ); ?></a>

		 * Renders after the 'blank state' message for the order list table has rendered.
		 * @since 6.6.1
		do_action( 'wc_marketplace_suggestions_orders_empty_state' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingSinceComment