Support

Account

Home Forums Gutenberg ACF-Block, detecting if on widget screen

Unread

ACF-Block, detecting if on widget screen

  • Hi,

    I’m using ACF Blocks to display (page-level) ACF-Fields in a sidebar. Naturally, on the widget screen, there is no post-id to retrieve the fields from. Is there any way to detect, if the current page is the widget screen in the backend and display a notice?

    Something like $is_preview does for the block editor but for the widget screen?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.