UNPKG

@adoratorio/demetra

Version:

Internal use library for wordpress API request

15 lines 638 B
import DemetraRequest from "./DemetraRequest"; import { WP_MODES } from '../declarations'; class DemetraRequestLanguages extends DemetraRequest { wpCache; localCache; constructor(site, options, lang, version) { super(WP_MODES.LANGUAGES, -1, lang, site, version); if (typeof options === 'undefined') options = {}; this.wpCache = typeof options.wpCache === 'undefined' ? true : options.wpCache; this.localCache = typeof options.localCache === 'undefined' ? false : options.localCache; } } export default DemetraRequestLanguages; //# sourceMappingURL=DemetraRequestLanguages.js.map