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!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Help putting those function’ is closed to new replies.