echoback

The Contact Form 7 - Infusionsoft Add-on echoback function.

Description

echoback( $m ); 

Parameters (1)

0. $m
The m.

Usage

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

Defined (1)

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

/src/xmlrpc-3.0/demo/server/server.php  
  1. function echoback($m) 
  2. // just sends back a string with what i got 
  3. // sent to me, just escaped, that's all 
  4. // 
  5. // $m is an incoming message 
  6. $s="I got the following message:\n" . $m->serialize(); 
  7. return new xmlrpcresp(new xmlrpcval($s));