Overview
Classes
Interfaces
Functions
Exceptions
Function
\
SaveDraft
SaveDraft
Saves a post draft in the user_drafts table The core draft feature must be enabled, as well as the post draft option Determines if this is a new or an existing draft Returns errors in $post_errors for display in the template
Open source code
Parameters Summary
string[]
& $post_errors