getActiveSheet()->toArray(null,true,true,true);
}
$readFile = get_template_directory() . “/xlsx/FAQ.xlsx”;
$xlsx = readXlsx($readFile);

$data = [];
for ($i = 1; $i < count($xlsx); $i ++) { $d = $xlsx[$i]; if ($d['A'] === $type) { array_push ( $data, array( 'title' => $d[‘B’],
‘details’ => $d[‘C’]
)
);
}
}
?>

-->