📜  wc php 获取acf字段产品类别 - PHP代码示例

📅  最后修改于: 2022-03-11 14:54:47.988000             🧑  作者: Mango

代码示例1
taxonomy;
$term_id = $queried_object->term_id;  

the_field('youracffield', $taxonomy . '_' . $term_id);
    
?>