WC_Admin_List_Table_Orders::restrict_manage_posts()publicWC 1.0

See if we should render search filters or not.

{} It's a method of the class: WC_Admin_List_Table_Orders{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin_List_Table_Orders = new WC_Admin_List_Table_Orders();
$WC_Admin_List_Table_Orders->restrict_manage_posts();

Code of WC_Admin_List_Table_Orders::restrict_manage_posts() WC 6.7.0

public function restrict_manage_posts() {
	global $typenow;

	if ( in_array( $typenow, wc_get_order_types( 'order-meta-boxes' ), true ) ) {
		$this->render_filters();
	}
}