wpcf7_editor_panel_additional_settings

The Contact Form 7 wpcf7 editor panel additional settings function.

Description

wpcf7_editor_panel_additional_settings( $post ); 

Parameters (1)

0. $post
The post.

Usage

  1. if ( !function_exists( 'wpcf7_editor_panel_additional_settings' ) ) { 
  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_additional_settings($post); 
  9.  

Defined (1)

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

/admin/includes/editor.php  
  1. function wpcf7_editor_panel_additional_settings( $post ) { 
  2. $desc_link = wpcf7_link
  3. __( 'https://contactform7.com/additional-settings/', 'contact-form-7' ),  
  4. __( 'Additional Settings', 'contact-form-7' ) ); 
  5. $description = __( "You can add customization code snippets here. For details, see %s.", 'contact-form-7' ); 
  6. $description = sprintf( esc_html( $description ), $desc_link ); 
  7.  
  8. ?> 
  9. <h2><?php echo esc_html( __( 'Additional Settings', 'contact-form-7' ) ); ?></h2> 
  10. <fieldset> 
  11. <legend><?php echo $description; ?></legend> 
  12. <textarea id="wpcf7-additional-settings" name="wpcf7-additional-settings" cols="100" rows="8" class="large-text" data-config-field="additional_settings.body"><?php echo esc_textarea( $post->prop( 'additional_settings' ) ); ?></textarea> 
  13. </fieldset> 
  14. <?php