Automattic\WooCommerce\Internal\Admin\Orders
ListTable::display()
Render the table.
{} Это метод класса: ListTable{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$ListTable = new ListTable(); $ListTable->display();
Код ListTable::display() ListTable::display WC 6.8.0
public function display() { $title = esc_html__( 'Orders', 'woocommerce' ); $add_new = esc_html__( 'Add Order', 'woocommerce' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo " <div class='wrap'> <h1 class='wp-heading-inline'>{$title}</h1> <a href='/to-implement' class='page-title-action'>{$add_new}</a> <hr class='wp-header-end'> "; if ( $this->has_items() ) { $this->views(); echo '<form id="wc-orders-filter" method="get" action="' . esc_url( get_admin_url( null, 'admin.php' ) ) . '">'; $this->print_hidden_form_fields(); $this->search_box( esc_html__( 'Search orders', 'woocommerce' ), 'orders-search-input' ); parent::display(); echo '</form> </div>'; } else { $this->render_blank_state(); } }