Support

Account

Home Forums Front-end Issues AFC Value is not displayed in WPBakery Post Grid Reply To: AFC Value is not displayed in WPBakery Post Grid

  • Hey everyone,

    We’re aware of this issue and have reached out to the WPBakery team who need to update their plugin in order to allow secure access to ACF data.

    ACF 5.11.3+ supports a filter you can add to your theme’s functions.php or a plugin which will fix the issue in the meantime:

    add_filter( 'acf/ajax/shortcode_capability', 'acf_wpbakery_shortcode_capability' );
    function acf_wpbakery_shortcode_capability( $cap ) {
    
    	if ( isset( $_POST['_vcnonce'] ) && wp_verify_nonce( $_POST['_vcnonce'], 'vc-nonce-vc-public-nonce' ) ) {
    		return 'exist';
    	}
    	return $cap;
    }