Opened 3 years ago
Closed 5 months ago
#12568 closed enhancement (wontfix)
Add filter to post_to_edit
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Patch attached to add a filter to post_to_edit to allow plugins to add their custom fields to the post object when it is retrieved - just like the post_to_edit function does for the _wp_page_template when page type is retrieved.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

get_post_to_edit() was deprecated in 3.5. Glad we didn't add this, as it would have hamstrung us quite a bit.