AY Term Meta

Add some meta to your terms like tags, categories or custom taxonomies

Author:Ayctor (profile at wordpress.org)
WordPress version required:3.5
WordPress version tested:4.4
Plugin version:0.9.2
Added to WordPress repository:26-03-2015
Last updated:09-12-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://ayctor.github.io/ay-termmeta/
Total downloads:527
Active installs:20+
plugin download
Click to start download

Activate the plugin and add some code to your functions.php

Basic function :

  • AyTermMeta::addMeta($term, $name, $label, $type = 'input', $description = '', $options = array()) {} Generate all meta management in WordPress Admin

Advanced functions :

You can use term_meta functions similar to post_meta function to add / update / get / delete metas

  • function add_term_meta( $term_id, $meta_key, $meta_value, $unique = false ) {}
  • function update_term_meta( $term_id, $meta_key, $meta_value, $prev_value = '' ) {}
  • function get_term_meta( $term_id, $key = '', $single = false ) {}
  • function delete_term_meta( $term_id, $meta_key, $meta_value = '' ) {}