UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

28 lines • 868 B
import { Meta } from "./meta"; import { QueryUtil } from "./utils/query.util"; import type * as types from "../types"; /** * https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-site.php */ export declare class Site { meta: Meta; private queryUtil; private siteRef; private blogRef; private _props; constructor(meta: Meta, queryUtil: QueryUtil, siteRef: number | string, blogRef: number | string | undefined, _props: { site: Partial<types.Tables["site"]>; blog: Partial<types.Tables["blogs"]> & { blog_id: number; }; }); get props(): { site: Partial<types.Tables["site"]>; blog: Partial<types.Tables["blogs"]> & { blog_id: number; }; }; setBlog(b: number | string): Promise<void>; private init; } //# sourceMappingURL=site.d.ts.map