C:\xampp\htdocs\landing\wp-content\plugins\js_composer\include\classes\shortcodes\vc-pinterest.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
if ( ! defined'ABSPATH' ) ) {
    die( 
'-1' );
}

/**
 * Class WPBakeryShortCode_Vc_Pinterest
 */
class WPBakeryShortCode_Vc_Pinterest extends WPBakeryShortCode {
    
/**
     * @param $atts
     * @param null $content
     * @return string
     * @throws \Exception
     */
    
protected function contentInline$atts$content null ) {
        
/**
         * Shortcode attributes
         * @var $atts
         * @var $type
         * @var $annotation // TODO: check why annotation doesn't set before
         * @var $css
         * @var $css_animation
         * Shortcode class
         * @var WPBakeryShortCode_Vc_Pinterest $this
         */
        
$type $annotation $css $css_animation '';
        
$atts vc_map_get_attributes$this->getShortcode(), $atts );
        
extract$atts );

        
$css = isset( $atts['css'] ) ? $atts['css'] : '';
        
$el_class = isset( $atts['el_class'] ) ? $atts['el_class'] : '';

        
$class_to_filter 'wpb_googleplus vc_social-placeholder wpb_content_element vc_socialtype-' $type;
        
$class_to_filter .= vc_shortcode_custom_css_class$css' ' ) . $this->getExtraClass$el_class ) . $this->getCSSAnimation$css_animation );
        
$css_class apply_filtersVC_SHORTCODE_CUSTOM_CSS_FILTER_TAG$class_to_filter$this->settings['base'], $atts );

        return 
'<div class="' esc_attr$css_class ) . '"></div>';
    }
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586