Download the PHP package stuttter/wp-term-meta without Composer
On this page you can find all versions of the php package stuttter/wp-term-meta. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stuttter/wp-term-meta
More information about stuttter/wp-term-meta
Files in stuttter/wp-term-meta
Package wp-term-meta
Short Description Metadata, for taxonomy terms
License GPLv2 or later
Homepage https://github.com/stuttter/wp-term-meta
Informations about the package wp-term-meta
WP Term Meta
Metadata, for taxonomy terms.
WP Term Meta allows developers to store key/value pairs of data along with a category, tag, or any custom taxonomy.
Installation
- Download and install using the built in WordPress plugin installer.
- Activate in the "Plugins" area of your admin by clicking the "Activate" link.
- No further setup or configuration is necessary.
Usage
add_term_meta()
delete_term_meta()
delete_term_meta_by_key()
get_term_meta()
update_term_meta()
get_terms()
Use the meta_query
argument according te the WP_Meta_Query
specification:
http://codex.wordpress.org/Class_Reference/WP_Meta_Query
FAQ
Does this create new database tables?
Yes. It creates a new wp_termmeta
database table for each site it's activated on.
Does this modify existing database tables?
No. All of WordPress's core database tables remain untouched.
Does this support querying by metadata?
Yes. It uses the WP_Meta_Query
class to create the necessary MySQL. You can interface with it by passing a meta_query
argument into get_terms()
, by filtering get_terms_args
or however else you choose.
Where can I get support?
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-meta/
Can I contribute?
Yes, please! The number of users needing taxonomy term metadata is growing fast. Having an easy-to-use API and powerful set of functions is critical to managing complex WordPress installations. If this is your thing, please help us out!