createDraftPost( )
Creates a draft post.
The draft post's memberId
is required for third-party apps.
Admin Method
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Permission Scopes
For app development, you must have one of the following permission scopes:Manage Blog
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
draftPostDraftPostRequired
Draft post to create.
optionsCreateDraftPostOptions
Options for creating a draft post.
Returns
Return Type:Promise<CreateDraftPostResponse>
Was this helpful?
Yes
No