j_die

The WP-FB-AutoConnect j die function.

Description

j_die( $msg, (constant) $skipMail = false ); 

Parameters (2)

0. $msg
The msg.
1. $skipmail (constant)
The skipmail.

Usage

  1. if ( !function_exists( 'j_die' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-fb-autoconnect/__inc_opts.php'; 
  3.  
  4. // The msg. 
  5. $msg = null; 
  6.  
  7. // The skipmail. 
  8. $skipmail = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = j_die($msg, $skipmail); 
  12.  

Defined (1)

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

/__inc_opts.php  
  1. function j_die($msg, $skipMail=false) 
  2. if(!$skipMail) j_mail("FB Login Error on " . get_bloginfo('name'), $msg); 
  3. global $jfb_log, $opt_jfb_fulllogerr; 
  4. if( isset($jfb_log) && get_option($opt_jfb_fulllogerr) ) 
  5. $msg .= "<pre>---LOG:---\n" . $jfb_log . "</pre>"; 
  6. die($msg);