Caldera_Forms_Email_Preview

Creates an email preview.

Defined (1)

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

/classes/email/preview.php  
  1. class Caldera_Forms_Email_Preview extends Caldera_Forms_Email_Save { 
  2.  
  3. /** 
  4. * @inheritdoc 
  5. */ 
  6. public function jsonSerialize() { 
  7. return array( 
  8. 'headers' => $this->headers(),  
  9. 'message' => $this->body(),  
  10. 'content-type' => $this->content_type() 
  11.  
  12. ); 
  13.  
  14.