Wp ターム一覧表示

<?php
$args = array('taxonomy' => 'ターム');
$taxs = get_categories($args);
// var_dump($taxs);
foreach($taxs as $tax): ?>
<?php echo $taxs->slug; ?>
<?php endforeach; ?>
PAGE TOP