Where is getSite selector defined?

Question

While digging recently on how to find site url from block editor, I found this article, where I found my answer, as site url is a property of object getSite returns.

Now, I searched through the Gutenberg code (trunk version from github) to find definition of getSite selector, but I was unable to find it’s definition.

Can someone point me to definition of this selector in code, I want to inspect code a little better to see what paramater (if any) does it take?

P.S.
most of the selectors in ‘core’ store are defined in gutenberg/packages/core-data/src/selectors.ts, but this is not, yet, it is present in the store.

0
Lovor 1 month 2023-01-01T14:42:28-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse