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;
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.