E: me@sabisin.com | T: +4915168651209

PHP Debug to console

Simple helper to debug to the console

@param  Array, String $data
@return String

function debug_to_console( $data ) {
   if ( is_array( $data ) )
      $output = "";
   else
      $output = "";
    echo $output;
}

debug_to_console( "Test" );