Ready to get started?Download WordPress


Taxonomy Metadata
How to query meta with while? (2 posts)

  1. onigetoc
    Posted 3 years ago #

    Hi, i insered term meta value and i want to show them all with query, how should i do?

    This is how i add them and i want to foreach or while them all
    add_term_meta('1', 'lang', 'en', true);

    Thank you


  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years ago #

    You mean you want to loop over the results? You should just use get_term_meta and then loop over the resulting array.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic