public static function fontIcon($link){
        if(isset($link['font-icon']) && is_string($link['font-icon']) && !empty(trim($link['font-icon']))){
            return '<span class="'.trim($link['font-icon']).'"></span> ';
        }
        return false;
    }
public static function fontIcon($link){
        if(isset($link['font-icon']) && is_string($link['font-icon']) && !empty(trim($link['font-icon']))){
            return '<span class="'.trim($link['font-icon']).'"></span> ';
        }
        return false;
    }
public static function fontIcon ( $ link ) { if ( isset ( $ link [ 'font-icon' ] ) && is_string ( $ link [ 'font-icon' ] ) && ! empty ( trim ( $ link [ 'font-icon' ] ) ) ) { return '<span class="' . trim ( $ link [ 'font-icon' ] ) . '"></span> ' ; } return false ; }
Inserts a given font ion in a span class
@param array $link This should be an array containing all of the set link values
@return string|boolean If the font icon is set will return a string else will return false
Inserts a given font ion in a span class