Support

Account

Home Forums Gutenberg Passing a variable to custom block from inside the editor. Reply To: Passing a variable to custom block from inside the editor.

  • Hi,
    it did work via the old
    acf_register_block_type
    function and global php variables.

    But with the new register_acf_blocks the global php variables seem not to work anymore.

    I think this is because the php files are not “connected” anymore.

    So f there is not wp trick something for this the only two solutions I can imagine are cookies or javascript.