WPBakery shortcodes fix

<?php
/** returns blank for a wpbakery page value, for replace excerpts in layout builder that show wpbakery shortcodes
 ** WPBakery does not process its shortcodes during an ajax request
 **/
add_filter( 'facetwp_builder_item_value', function( $value, $item ) {
    if ( 'el-omcatx' == $item['settings']['name'] ) { // change 'el-omcatx' to the name of your setting
        if ( true == get_post_meta( get_the_id(), '_wpb_vc_js_status', true  ) ) {
            $value = '';
        }
    }
    return $value;
}, 10, 2 );