PressForward / pressforward

PressForward is a free plugin that provides an editorial workflow for content aggregation and curation within the WordPress dashboard. It is designed for bloggers and editorial teams who wish to collect, discuss, and share content from a variety of sources on the open web.
GNU Affero General Public License v3.0
120 stars 22 forks source link

Standardize treatment of 'draft post type' throughout PF #1160

Closed boonebgorges closed 1 year ago

boonebgorges commented 1 year ago

The last step in a PF forwarding process is "draft", which by default send to the 'post' post type. There's a filter 'pf_draft_post_type' that allows this value to be overridden, but it's applied haphazardly, and in many places 'post' is still hardcoded.

It ought to be possible to change this post type, so we should put the filter in a centralized place and then use it wherever possible.