[wp-trac] [WordPress Trac] #21578: Introducing term_metas

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 14 18:34:28 UTC 2012


#21578: Introducing term_metas
---------------------------+------------------------------------
 Reporter:  hughwillfayle  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Taxonomy       |    Version:
 Severity:  normal         |   Keywords:  dev-feedback has-patch
---------------------------+------------------------------------
 In pur work with WordPress we search for many solutions to have term
 metas. We found one which we can implement easily and it has been tested
 in some client projects. Based upon a plugin I'd like to contribute the
 API functions and the schematic to the core.

 {{{
 get_term_meta( $term_id, $key = '', $single = FALSE )
 }}}

 {{{
 update_term_meta( $term_id, $meta_key, $meta_value, $prev_value = '' )
 }}}

 {{{
 delete_term_meta_by_key( $term_meta_key )
 }}}

 {{{
 get_term_custom( $term_id = 0 )
 }}}

 {{{
 get_term_custom_keys( $term_id = 0 )
 }}}

 {{{
 get_term_custom_values( $key = '', $term_id = 0 )
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21578>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list