Add meta for any taxonomies. Meta is attached to taxonomy context and not terms, this way allow to have metas different for the same term on 2 different taxonomies.
Contributors: momo360modena
Donate link: http://www.beapi.fr/donate/
Tags: tags, taxonomies, custom taxonomies, termmeta, meta, term meta, taxonomy, meta taxonomy
Requires at least: 3.0
Tested up to: 4.0
Stable tag: 1.3.6
No UI ! This plugin implements the WP Meta API for terms. Metadatas is attached to taxonomy context and not terms, this way allow to have metas different for the same term on 2 different taxonomies !
It's the better implementation for this feature.
This plugin don't any interface on WordPress ! Only somes methods for developpers.
This plugin propose many functions for terms :
add_term_meta( $taxonomy = '', $term_id = 0, $meta_key = '', $meta_value = '', $unique = false )
delete_term_meta( $taxonomy = '', $term_id = 0, $meta_key = '', $meta_value = '')
get_term_meta( $taxonomy = '', $term_id = 0, $meta_key = '', $single = false )
update_term_meta( $taxonomy = '', $term_id = 0, $meta_key, $meta_value, $prev_value = '' )
And many others functions term taxonomy context :
add_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key = '', $meta_value = '', $unique = false )
delete_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key = '', $meta_value = '')
get_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key = '', $single = false )
update_term_taxonomy_meta( $term_taxonomy_id = 0, $meta_key, $meta_value, $prev_value = '' )
And many others...
For full info go the Meta for taxonomies Github page.
- Download, unzip and upload to your WordPress plugins directory
- Activate the plugin within you WordPress Administration Backend
- Develop your plugin for used it !
- 9 December 2017
- Fix term meta table detection
- 8 March 2017
- Always return value for the native table check
- Avoid enormous options for the migration
- 2 March 2017
- Check if the native table have been created before launching anything
- 16 February 2017
- Change get_term_taxonomy_custom internal to use get_metadata
- Update delete_term_meta_by_key sql queries to use new term meta table
- 28 October 2016
- Fix ambiguous sql query in get_term_taxonomy_id_from_meta function
- 28 May 2016
- Compat 4.4
- Fix cache_group key
- Add taxonomy arg for get_term_taxonomy_id_from_meta function
- Compat with WP 4.0.x
- Just improve description...
- Broken MAJ - No upgrade script available
- Change table name for allow multisite switching...
- Fix bug with hook delation, use right name field "term_taxo_id"
- Add tables in var class WPDB for multisite compatibility (thanks njuen)
- Improve format readme.txt
- Check compatibility WP 3.2
- Fix a bug with the meta key... (bis)
- Remove a conflict function with Simple Taxonomy
- Fix a bug with the meta key...
- Initial version