app/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php
/**
		 * Prints out the styles needed to render the element icon for the back end interface.
		 * Only performed if the 'icon' setting is a valid URL.
		 *
		 * @return void
		 * @since  4.2
		 * @modified 4.4
		 * @author Benjamin Intal
		 */
Prints out the styles needed to render the element icon for the back end interface.
Only performed if the 'icon' setting is a valid URL.


Prints out the styles needed to render the element icon for the back end interface . Only performed if the ' icon ' setting is a valid URL .
public function printIconStyles() {
			if ( ! filter_var( $this->settings( 'icon' ), FILTER_VALIDATE_URL ) ) {
				return;
			}
			echo "
            <style>
                .vc_el-container #" . esc_attr( $this->settings['base'] ) . " .vc_element-icon,
                .wpb_" . esc_attr( $this->settings['base'] ) . " .wpb_element_title .vc_element-icon,
                .vc_el-container > #" . esc_attr( $this->settings['base'] ) . " > .vc_element-icon,
                .vc_el-container > #" . esc_attr( $this->settings['base'] ) . " > .vc_element-icon[data-is-container=\"true\"],
                .compose_mode .vc_helper.vc_helper-" . esc_attr( $this->settings['base'] ) . " > .vc_element-icon,
                .vc_helper.vc_helper-" . esc_attr( $this->settings['base'] ) . " > .vc_element-icon,
                .compose_mode .vc_helper.vc_helper-" . esc_attr( $this->settings['base'] ) . " > .vc_element-icon[data-is-container=\"true\"],
                .vc_helper.vc_helper-" . esc_attr( $this->settings['base'] ) . " > .vc_element-icon[data-is-container=\"true\"],
                .wpb_" . esc_attr( $this->settings['base'] ) . " > .wpb_element_wrapper > .wpb_element_title > .vc_element-icon,
                .wpb_" . esc_attr( $this->settings['base'] ) . " > .wpb_element_wrapper > .wpb_element_title > .vc_element-icon[data-is-container=\"true\"] {
                    background-position: 0 0;
                    background-image: url(" . esc_url( $this->settings['icon'] ) . ");
                    -webkit-background-size: contain;
                    -moz-background-size: contain;
                    -ms-background-size: contain;
                    -o-background-size: contain;
                    background-size: contain;
                }
            </style>";
		}
public function printIconStyles ( ) { if ( ! filter_var ( $ this -> settings ( 'icon' ) , FILTER_VALIDATE_URL ) ) { return ; } echo " 
            <style>
                .vc_el-container # " . esc_attr ( $ this -> settings [ 'base' ] ) . "  .vc_element-icon,
                .wpb_ " . esc_attr ( $ this -> settings [ 'base' ] ) . "  .wpb_element_title .vc_element-icon,
                .vc_el-container > # " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .vc_element-icon,
                .vc_el-container > # " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .vc_element-icon[data-is-container= \" true \" ],
                .compose_mode .vc_helper.vc_helper- " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .vc_element-icon,
                .vc_helper.vc_helper- " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .vc_element-icon,
                .compose_mode .vc_helper.vc_helper- " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .vc_element-icon[data-is-container= \" true \" ],
                .vc_helper.vc_helper- " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .vc_element-icon[data-is-container= \" true \" ],
                .wpb_ " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .wpb_element_wrapper > .wpb_element_title > .vc_element-icon,
                .wpb_ " . esc_attr ( $ this -> settings [ 'base' ] ) . "  > .wpb_element_wrapper > .wpb_element_title > .vc_element-icon[data-is-container= \" true \" ] {
                    background-position: 0 0;
                    background-image: url( " . esc_url ( $ this -> settings [ 'icon' ] ) . " );
                    -webkit-background-size: contain;
                    -moz-background-size: contain;
                    -ms-background-size: contain;
                    -o-background-size: contain;
                    background-size: contain;
                }
            </style> " ; }
Prints out the styles needed to render the element icon for the back end interface.
Prints out the styles needed to render the element icon for the back end interface .