blob: 6bd46a8a188e9a4948bf578752faed7a2bd93107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
const siteDataSelectors = {
getAPIRootUrl: state => state.siteData?.WP_API_root ?? null,
getAPINonce: state => state.siteData?.WP_API_nonce ?? null,
getRegistrationNonce: state => state.siteData?.registrationNonce ?? null,
getSiteAdminUrl: state => state.siteData?.adminUrl ?? null,
getBlogId: state => state.siteData?.blogId ?? 0,
getVersion: state => state.siteData?.version ?? 'development',
getCalypsoSlug: state => state.siteData?.calypsoSlug,
};
export default siteDataSelectors;
|