BACK TO DIRECTORY

AY Term Meta

by Erwan Guillon

0.0
(0 ratings)

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 = ” ) {}

Screenshots

The add screen

The add screen

The edit screen

The edit screen

Plugin Details

Active Installs
10
Total Downloads
2,067
Version
0.9.2
Requires WP
3.5
Requires PHP
Tested Up To
4.4.34
Added
2015-03-26
Last Updated
2015-12-09 11:36am GMT

Ratings

5
0
4
0
3
0
2
0
1
0