wp-content/plugins/js_composer/include/classes/core/class-vc-base.php
/**
	 * Hooked class method by wp_head WP action to output post custom css.
	 *
	 * Method gets post meta value for page by key '_wpb_post_custom_css' and if it is not empty
	 * outputs css string wrapped into style tag.
	 *
	 * @since  4.2
	 * @access public
	 *
	 * @param integer $id
	 */
Hooked class method by wp_head WP action to output post custom css.
Method gets post meta value for page by key '_wpb_post_custom_css' and if it is not empty
outputs css string wrapped into style tag.



@param integer $id
Hooked class method by wp_head WP action to output post custom css . Method gets post meta value for page by key ' _wpb_post_custom_css ' and if it is not empty outputs css string wrapped into style tag . @param integer $id
public function addPageCustomCss( $id = null ) {
		if ( ! is_singular() ) {
			return;
		}
		if ( ! $id ) {
			$id = get_the_ID();
		}
		if ( $id ) {
			$post_custom_css = get_post_meta( $id, '_wpb_post_custom_css', true );
			if ( ! empty( $post_custom_css ) ) {
				echo '<style type="text/css" data-type="vc_custom-css">';
				echo $post_custom_css;
				echo '</style>';
			}
		}
	}
public function addPageCustomCss ( $ id = null ) { if ( ! is_singular ( ) ) { return ; } if ( ! $ id ) { $ id = get_the_ID ( ) ; } if ( $ id ) { $ post_custom_css = get_post_meta ( $ id , '_wpb_post_custom_css' , true ) ; if ( ! empty ( $ post_custom_css ) ) { echo '<style type="text/css" data-type="vc_custom-css">' ; echo $ post_custom_css ; echo '</style>' ; } } }
Hooked class method by wp_head WP action to output post custom css.
Hooked class method by wp_head WP action to output post custom css .