Opened 17 years ago
Closed 14 years ago
#12568 closed enhancement (wontfix)
Add filter to post_to_edit
| Reported by: | themattharris | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
get_post_to_edit() was deprecated in 3.5. Glad we didn't add this, as it would have hamstrung us quite a bit.