跳到内容

AY Term Meta

v0.9.2

Erwan Guillon · 2015年3月26日 上架

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

正在使用
10+
评分
暂无
累计下载
2,208
最近更新
2015年12月9日
需要 WordPress 3.5+已测试到 4.4.34

贡献者

截图

The add screen
The add screen
The edit screen
The edit screen

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums