getDeletedDraftPost( )
Gets a deleted draft post from the trash bin by the provided ID.
Uses the provided draftPostId
to retrieve a previously deleted draft post from the trash bin.
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
draftPostIdstringRequired
Draft post ID.
Returns
Return Type:Promise<GetDeletedDraftPostResponse>
Was this helpful?
Yes
No