cf7_style_add_class

The Contact Form 7 Style cf7 style add class function.

Description

cf7_style_add_class( $class ); 

Parameters (1)

0. $class
The class.

Usage

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

Defined (1)

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

/cf7-style.php  
  1. function cf7_style_add_class( $class ) { 
  2. global $post; 
  3. $class.= " cf7-style ".form_class_attr( $post, "no" ); 
  4. return $class; 
  5. }// end of cf7_style_add_class