Skip to main content

how do I find the $ID of a space?

Is there a function getSpaceBySlug or anywhere in the admin UI I can figure out what the space ID is? Ideally programatically

Ryk Melck

Maybe this? I just inspected the elements.

Wil Brown

Thanks - that helps! I resorted to looking in the DB table, but ideally, a function would be best or a field in the UI/space settings.