Title: Help putting those function
Last modified: August 30, 2016

---

# Help putting those function

 *  Resolved [koleloi](https://wordpress.org/support/users/koleloi/)
 * (@koleloi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/help-putting-those-function/)
 * Hi, first I want to thank you for this plugin, it’s what I’ve been looking for.
 * I am very new to wordpress and my question is where should I add these function?
 * > <?php
   >  if (function_exists(‘get_all_wp_terms_meta’)) { $arrayMetaList = get_all_wp_terms_meta(
   > $category_id); }
   > // array all meta fields for category/term
   >  print_r($arrayMetaList); ?>
 * And what does **$category_id** in this code mean, do I need replace it with “
   product_cat” or “product_shipping_class” for instance?
 * Thank you in advanced!
 * [https://wordpress.org/plugins/wp-custom-taxonomy-meta/](https://wordpress.org/plugins/wp-custom-taxonomy-meta/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Aftab Husain](https://wordpress.org/support/users/amu02aftab/)
 * (@amu02aftab)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/help-putting-those-function/#post-6713117)
 * Hi koleloi,
 * Thanks for choosing my plugin. You can add this code anywhere in theme/template
   files where you are finding category id.
 * $category_id is numeric id (CATEGORY ID OR TERM ID) for the category/term you
   want to fetch data .
 * Hope this will help.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Help putting those function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-custom-taxonomy-meta_4c878c.svg)
 * [Category and Taxonomy Meta Fields](https://wordpress.org/plugins/wp-custom-taxonomy-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-custom-taxonomy-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Aftab Husain](https://wordpress.org/support/users/amu02aftab/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/help-putting-those-function/#post-6713117)
 * Status: resolved