How do I get the site url from a Block (within the block editor)
Perhaps this is because I’ve got WP set up as multisite. Yes, that’s right, WordPress disables the siteurl (and also admin_email) settings on a Multisite — see register_initial_settings() for the source. And I don’t know why they disable those (two) settings, but you can explicitly enable them like so for the url/siteurl setting, which for … Read more