Unyson
Unyson copied to clipboard
Customizer Options and Page ID
Is it possible to get the page id of the customizer iframe into customizer.php?
Unyson doesn't offer such possibility/feature. You can try to do hacks like checking current url or current screen.
Also on Customizer page you can navigate through frontend pages by clicking the links, the iframe is updated (and the url, if I remember correctly) but the customizer elements remain the same and only are hide/show from javascript.
Maybe you are looking for active_callback parameter? https://github.com/ThemeFuse/Unyson/issues/1082