Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
class WPBakeryShortCode_VC_TweetMeMe extends WPBakeryShortCode {
|
||||
protected function contentInline( $atts, $content = null ) {
|
||||
/**
|
||||
* Shortcode attributes
|
||||
* @var $atts
|
||||
* Shortcode class
|
||||
* @var $this WPBakeryShortCode_VC_TweetMeMe
|
||||
*/
|
||||
$atts = vc_map_get_attributes( $this->getShortcode(), $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';
|
||||
$class_to_filter .= vc_shortcode_custom_css_class( $css, ' ' ) . $this->getExtraClass( $el_class ) . $this->getCSSAnimation( $atts['css_animation'] );
|
||||
$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $class_to_filter, $this->settings['base'], $atts );
|
||||
|
||||
return '<div class="' . esc_attr( $css_class ) . '"></div>';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user