[wp-trac] [WordPress Trac] #16176: save_{$post_type}

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 10 20:07:04 UTC 2011


#16176: save_{$post_type}
------------------------------+------------------------------
 Reporter:  bmb               |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Post Types        |     Version:  3.0.4
 Severity:  trivial           |  Resolution:
 Keywords:  custom post type  |
------------------------------+------------------------------

Comment (by bmb):

 Replying to [comment:2 mikeschinkel]:
 > Use case?
 >
 > When exactly would you propose it being triggered?
 right after save_post, same as `add_meta_boxes` and
 `add_meta_boxes_{$post_type}`, since this would sort of complement those
 hooks (e.g. if you added a metabox with `add_meta_boxes`, save with
 `save_post`. If you added with `add_meta_boxes_{$post_type}`, save with
 `save_{$post_type}`)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16176#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list