react-code-dataset / wp-calypso /client /state /selectors /get-atomic-hosting-static-file-404.js
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
import 'calypso/state/hosting/init';
/**
* Returns the PHP version used for given siteId
* @param {Object} state Global state tree
* @param {number|null} siteId The ID of the site we're querying
* @returns {string} PHP Version used, or ''
*/
export function getAtomicHostingStaticFile404( state, siteId ) {
return state.atomicHosting?.[ siteId ]?.staticFile404 ?? '';
}