<?php echo wp_trim_words( preg_replace( '/[vc_empty_space(s)*(.)*]/', ' ', strip_tags( do_shortcode( get_the_content() ) ) ), 20 ); ?>
Code snippets for FacetWP
<?php echo wp_trim_words( preg_replace( '/[vc_empty_space(s)*(.)*]/', ' ', strip_tags( do_shortcode( get_the_content() ) ) ), 20 ); ?>