wysija_queries

The MailPoet Newsletters wysija queries function.

Description

wysija_queries(); 

Usage

  1. if ( !function_exists( 'wysija_queries' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'mailpoet-newsletters/inc/debug.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wysija_queries(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/debug.php  
  1. function wysija_queries() { 
  2. if(((is_admin() && (defined('WYSIJA_ITF') && WYSIJA_ITF)) || isset($_GET['dbg'])) ) { 
  3. global $wpdb, $wysija_queries, $wysija_queries_errors; 
  4. echo '<div class="wysija-footer"><div class="expandquer"><h2>WYSIJA QUERIES</h2>'; 
  5. echo '<pre>'; 
  6. dbg($wysija_queries, 0); 
  7. echo '</pre></div>'; 
  8.  
  9. if($wysija_queries_errors) { 
  10. echo '<div class="expandquer"><h2 class="errors">WYSIJA QUERIES ERRORS</h2>'; 
  11. echo '<pre>'; 
  12. dbg($wysija_queries_errors, 0); 
  13. echo '</pre></div>'; 
  14.  
  15. echo '</div>';