d569850b by Marty Penner

Modifying default behavior of array2table so the action form is not shown

1 parent 5bdadc6a
1 <?php 1 <?php
2 namespace Tz\WordPress\Tools\MySQLTable; 2 namespace Tz\WordPress\Tools\MySQLTable;
3 3
4 function array2table($arr, $width = "100%", $with_form = true) { 4 function array2table($arr, $width = "100%", $with_form = false) {
5 $count = count($arr); 5 $count = count($arr);
6 if (!$count) echo ''; 6 if (!$count) echo '';
7 7
......