描述
Add as many custom values as you want, or define static fields which are always visible.
Arbitrary section
add_term_meta
add_term_meta( $term_id, $meta_key, $meta_value, $unique = FALSE )
update_term_meta
update_term_meta( $term_id, $meta_key, $meta_value, $prev_value = '' )
delete_term_meta
delete_term_meta( $term_id, $meta_key, $meta_value = '' )
get_term_meta
get_term_meta( $term_id, $key, $single = FALSE)
螢幕截圖
安裝
- Put the plugin in your plugin directory and activate it in your WordPress backend.
常見問題
- Filters
-
Add static fields to all taxonomies
term_fieldsAdd static fields for $taxonomy
term_fields_$taxonomyRemove all custom field support
has_custom_fieldsRemove custom field support for $taxonomy
$taxonomy_has_custom_fields
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
1.2
- Added:
term_fields_$taxonomy
filter - Added:
$taxonomy_has_custom_fields
filter - Added:
has_custom_fields
filter - Added:
$taxonomy_has_custom_fields
filter - Added: Deinstall routine
- Added: Placeholder parameter for static fields
- Removed: `taxonomy-meta-taxonomies filter
1.1
- Added:
term_fields
filter - Enhancement: Create predefined meta fields
- Changed: Term meta table renamed
1.0
- Initial release