cf7style_add_template_panel

New panel.

Description

cf7style_add_template_panel( $panels ); 

Parameters (1)

0. $panels
The panels.

Usage

  1. if ( !function_exists( 'cf7style_add_template_panel' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-style/inc/slider_meta_box.php'; 
  3.  
  4. // The panels. 
  5. $panels = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = cf7style_add_template_panel($panels); 
  9.  

Defined (1)

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

/inc/slider_meta_box.php  
  1. function cf7style_add_template_panel ( $panels ) { 
  2. $panels['Cf7StyleTemplate'] = array( 
  3. 'title' => __( 'Contact Form 7 Style Template', 'contact-form-7' ),  
  4. 'callback' => 'cf7_style_display_slider
  5. ); 
  6. return $panels;