Home Forums Gutenberg Block className gone…


Block className gone…

  • 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.