createDraftPost( )


Creates a draft post.

The draft post's memberId is required for third-party apps.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Blog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
draftPostDraftPostRequired

Draft post to create.


optionsCreateDraftPostOptions

Options for creating a draft post.

Returns
Return Type:Promise<CreateDraftPostResponse>
Did this help?