feed_line_height

The Facebook Feed feed line height function.

Description

feed_line_height( $atts ); 

Parameters (1)

0. $atts
The atts.

Usage

  1. if ( !function_exists( 'feed_line_height' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'facebook-feed/facebook-feed-shortcode.php'; 
  3.  
  4. // The atts. 
  5. $atts = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = feed_line_height($atts); 
  9.  

Defined (1)

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

/facebook-feed-shortcode.php  
  1. function feed_line_height($atts) 
  2. $style_wrapper = ' style=" '; 
  3.  
  4. if ( !empty($atts['line_height']) && $atts['line_height'] != 'inherit' ) $style_wrapper .= 'line-height:' . $atts['line_height'].'px;'; 
  5.  
  6. $style_wrapper .= ' " '; 
  7.  
  8. return $style_wrapper; 
  9. }