UNPKG

@adoratorio/demetra

Version:

Internal use library for wordpress API request

17 lines 690 B
import DemetraRequest from "./DemetraRequest"; import { WP_MODES } from "../declarations"; class DemetraRequestChildren extends DemetraRequest { i18n; wpCache; localCache; constructor(id, options, lang, site, version) { super(WP_MODES.CHILDREN, id, lang, site, version); if (typeof options === 'undefined') options = {}; this.i18n = options.i18n || true; this.wpCache = typeof options.wpCache === 'undefined' ? true : options.wpCache; this.localCache = typeof options.localCache === 'undefined' ? false : options.localCache; } } export default DemetraRequestChildren; //# sourceMappingURL=DemetraRequestChildren.js.map