base !== 'edit' || $screen->post_type !== LP_ORDER_CPT ) { return; } $order_data = [ 'action' => 'export_order_csv', 'export_id' => time() . '-' . uniqid(), ]; $data_get = LP_Helper::sanitize_params_submitted( $_GET ); $order_data = array_merge( $data_get, $order_data ); $section = [ 'wrap-start' => '
', 'btn-export-start' => sprintf( '', 'wrap-end' => '
', ]; echo Template::combine_components( $section ); } }