wpcf7_editor_panel_mail

The Contact Form 7 wpcf7 editor panel mail function.

Description

wpcf7_editor_panel_mail( $post ); 

Parameters (1)

0. $post
The post.

Usage

  1. if ( !function_exists( 'wpcf7_editor_panel_mail' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/admin/includes/editor.php'; 
  3.  
  4. // The post. 
  5. $post = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpcf7_editor_panel_mail($post); 
  9.  

Defined (1)

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

/admin/includes/editor.php  
  1. function wpcf7_editor_panel_mail( $post ) { 
  2.  
  3. echo '<br class="clear" />'; 
  4.  
  5. wpcf7_editor_box_mail( $post, array( 
  6. 'id' => 'wpcf7-mail-2',  
  7. 'name' => 'mail_2',  
  8. 'title' => __( 'Mail (2)', 'contact-form-7' ),  
  9. 'use' => __( 'Use Mail (2)', 'contact-form-7' ),  
  10. ) );