wpcf7_enqueue_styles

The Contact Form 7 wpcf7 enqueue styles function.

Description

wpcf7_enqueue_styles(); 

Usage

  1. if ( !function_exists( 'wpcf7_enqueue_styles' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/includes/controller.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpcf7_enqueue_styles(); 
  7.  

Defined (1)

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

/includes/controller.php  
  1. function wpcf7_enqueue_styles() { 
  2. wp_enqueue_style( 'contact-form-7',  
  3. wpcf7_plugin_url( 'includes/css/styles.css' ),  
  4. array(), WPCF7_VERSION, 'all' ); 
  5.  
  6. if ( wpcf7_is_rtl() ) { 
  7. wp_enqueue_style( 'contact-form-7-rtl',  
  8. wpcf7_plugin_url( 'includes/css/styles-rtl.css' ),  
  9. array(), WPCF7_VERSION, 'all' ); 
  10.  
  11. do_action( 'wpcf7_enqueue_styles' );