WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#37310 new enhancement

To get Term Metadata in $term->meta_key

Reported by: minkapi Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords:
Focuses: Cc:
PR Number:

Description

Like postmeta and usermeta, I'd like to get Term Metadata as a property of a term object.
Would you confirm the attached patch file?

Thank you.

Attachments (1)

class-wp-term.php.diff (494 bytes) - added by minkapi 3 years ago.

Download all attachments as: .zip

Change History (2)

#1 @sc0ttkclark
3 years ago

Sounds good to me, this makes sense for feature parity with Posts / Users since they have the same. Terms now have meta, so it should be good to continue that standard.

Note: See TracTickets for help on using tickets.