display_error

The Contact Form 7 - Infusionsoft Add-on display error function.

Description

display_error( $r ); 

Parameters (1)

0. $r
The r.

Usage

  1. if ( !function_exists( 'display_error' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-infusionsoft-add-on/src/xmlrpc-3.0/demo/client/introspect.php'; 
  3.  
  4. // The r. 
  5. $r = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = display_error($r); 
  9.  

Defined (1)

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

/src/xmlrpc-3.0/demo/client/introspect.php  
  1. function display_error($r) 
  2. print "Anerroroccurred: "; 
  3. print "Code: " . $r->faultCode() 
  4. . " Reason: '" .$r->faultString()."'<br/>";