wp-content/plugins/js_composer/include/classes/core/class-vc-base.php
/**
	 * Build custom css styles for page from shortcodes attributes created by VC editors.
	 *
	 * Called by save method, which is hooked by edit_post action.
	 * Function creates meta data for post with the key '_wpb_shortcodes_custom_css'
	 * and value as css string, which will be added to the footer of the page.
	 *
	 * @since  4.2
	 * @access public
	 *
	 * @param $post_id
	 */
Build custom css styles for page from shortcodes attributes created by VC editors.
Called by save method, which is hooked by edit_post action.
Function creates meta data for post with the key '_wpb_shortcodes_custom_css'
and value as css string, which will be added to the footer of the page.




Build custom css styles for page from shortcodes attributes created by VC editors . Called by save method which is hooked by edit_post action . Function creates meta data for post with the key ' _wpb_shortcodes_custom_css ' and value as css string which will be added to the footer of the page .
public function buildShortcodesCustomCss( $post_id ) {
		$post = get_post( $post_id );
		$css = apply_filters( 'vc_base_build_shortcodes_custom_css',
			$this->parseShortcodesCustomCss( $post->post_content ) );
		if ( empty( $css ) ) {
			delete_post_meta( $post_id, '_wpb_shortcodes_custom_css' );
		} else {
			update_post_meta( $post_id, '_wpb_shortcodes_custom_css', $css );
		}
	}
public function buildShortcodesCustomCss ( $ post_id ) { $ post = get_post ( $ post_id ) ; $ css = apply_filters ( 'vc_base_build_shortcodes_custom_css' , $ this -> parseShortcodesCustomCss ( $ post -> post_content ) ) ; if ( empty ( $ css ) ) { delete_post_meta ( $ post_id , '_wpb_shortcodes_custom_css' ) ; } else { update_post_meta ( $ post_id , '_wpb_shortcodes_custom_css' , $ css ) ; } }
Build custom css styles for page from shortcodes attributes created by VC editors.
Build custom css styles for page from shortcodes attributes created by VC editors .
// $this->createShortCodes(); /**
		 * vc_filter: vc_base_build_shortcodes_custom_css
		 * @since 4.4
		 */