Added Array handler.

This commit is contained in:
Varun 2020-10-30 18:14:54 +05:30
parent a2dd49e497
commit 5eb79db990
No known key found for this signature in database
GPG key ID: 93FB46DCF16E0D6F

View file

@ -1,6 +1,9 @@
<?php
function gh_log( $content = '' ) {
if ( is_array( $content ) ) {
$content = print_r( $content, true );
}
echo $content . PHP_EOL;
}