mkormendy
12/1/2014 - 5:57 AM

Outputting PHP variables to the browser console

Outputting PHP variables to the browser console

<?php
echo "<script>console.log($post->ID)</script>";
?>