Automattic\WooCommerce\Internal\Admin\Logging

PageController::render_search_results_viewprivateWC 1.0

Render the search results view.

Method of the class: PageController{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->render_search_results_view(): void;

PageController::render_search_results_view() code WC 10.8.1

<?php
private function render_search_results_view(): void {
	$params     = $this->get_query_params( array( 'view' ) );
	$list_table = $this->get_list_table( $params['view'] );

	$list_table->prepare_items();

	?>
	<header id="logs-header" class="wc-logs-header">
		<h2><?php esc_html_e( 'Search results', 'woocommerce' ); ?></h2>
		<?php $this->render_search_field(); ?>
	</header>
	<?php $list_table->display(); ?>
	<?php
}