PHP Console Log | Marcus Viar | browser

PHP Console Log | Marcus Viar | browser,console.log,debug,development,php

Description Examples Place the do_action( ‘php_console_log’, ‘My String or Array’ ); function anywhere in your WordPress plugin PHP code. The value(s) you pass into do_action( ‘php_console_log’, ‘My String or Array’ ); will be logged to the web console in your browser. Pass in a string $my_string = ‘My String’; do_action( ‘php_console_log’, $my_string ); Pass in …

PHP Console Log | Marcus Viar | browser,console.log,debug,development,php Read More »