Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #1471
      Jason
      Keymaster

      I’m a bit surprised that I can’t seem to find anywhere if there’s a function or some such thing for retrieving taxonomy metadata. Since WP doesn’t natively support this, there’s no get_term_meta/get_taxonomy_meta function.

      Please shed some light on this and consider adding it to the docs!

    • #1472
      Jason
      Keymaster

      As I figured you’d made, I found get_term_meta in class-piklist-taxonomy.php. Please add this to the term metabox page. Helps to know how to retrieve what you’re storing. 🙂

    • #2198
      mcmaster
      Member

      Just popping this post to the top; like Jason it took some looking; glad I found this post! Any chance of adding this info to the https://piklist.com/user-guide/docs/piklist/file-structure/term/ page?

      Thanks!
      Donna

    • #2201
      Steve
      Keymaster

      The docs have been updated, and a link to the docs page will be in the add-ons as well.

Viewing 3 reply threads
  • The topic ‘How to get term meta’ is closed to new replies.