Modifying default behavior of array2table so the action form is not shown
Showing
1 changed file
with
1 additions
and
1 deletions
| 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 | ... | ... |
-
Please register or sign in to post a comment