post_content); $content = str_replace(']]>', ']]>', $content); $shortcodes_custom_css = get_post_meta( $page_id, '_wpb_shortcodes_custom_css', true ); SV_Assets::add_css($shortcodes_custom_css); wp_reset_postdata(); return $content; } } } static function remove_wpautop( $content, $autop = false ) { if ( $autop ) { $content = wpautop( preg_replace( '/<\/?p\>/', "\n", $content ) . "\n" ); } return do_shortcode( shortcode_unautop( $content) ); } } SV_Template::_init(); }