listDeletedDraftPosts( )
Retrieves a list of up to 100 deleted draft posts.
List Deleted Draft Posts runs with these defaults, which you can override:
editedDate
is sorted in descending order. In this case,editedDate
implies the date the post was deleted.paging.limit
is50
.paging.offset
is0
.
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
optionsListDeletedDraftPostsOptions
Options for listing deleted draft posts.
Returns
Return Type:Promise<ListDeletedDraftPostsResponse>
Was this helpful?
Yes
No