removeFromTrashBin( )
Permanently deletes a draft post by the provided ID from the trash bin.
Uses the provided draftPostId
to permanently delete a draft post from the trash bin. This action is permanent and cannot be reversed.
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.
Was this helpful?
Yes
No