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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users