@adoratorio/demetra
Version:
Internal use library for wordpress API request
15 lines • 622 B
JavaScript
import DemetraRequest from "./DemetraRequest";
import { WP_MODES } from "../declarations";
class DemetraRequestMenu extends DemetraRequest {
wpCache;
localCache;
constructor(id, options, lang, site, version) {
super(WP_MODES.MENU, id, 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 DemetraRequestMenu;
//# sourceMappingURL=DemetraRequestMenu.js.map