Home Forums Gutenberg Block className gone…


Block className gone…

    • aregmk

    • July 30, 2019 at 2:28 am

    After ACF-PRO update from version 5.8.1 the className property has gone from $block array. It doesn’t exist anymore.

    function acf_render_block_some_block($block) {
        var_dump($block['className']); // this is null, a PHP warning arises

    Here are the versions of the software:
    ACF-PRO: v.5.8.2 (latest)
    WP: v.5.2.2 (latest)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.