snipt

Ctrl+h for KB shortcuts

PHP

WORDPRESS - debug query

exit( var_dump( $wpdb->last_query ) );
https://snipt.net/embed/53690e014b2163ec194285a64cbcc47c/
https://snipt.net/raw/53690e014b2163ec194285a64cbcc47c/
53690e014b2163ec194285a64cbcc47c
php
PHP
1
2016-09-29T18:28:50
True
False
False
Sep 30, 2015 at 05:40 PM
/api/public/snipt/141343/
wordpress-debug-query
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="x">exit( var_dump( $wpdb-&gt;last_query ) );</span> </span></pre></div> </td></tr></table>
debug, wordpress
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.