I'm trying to return only the list of taxomanias
of a custom post type
called "Portfolio". I just need the names of the categories.
The code below is returning the categories with links, does anyone know how to delete those links?
$taxonomy_names = get_object_taxonomies('portfolio');
if(count($taxonomy_names) > 0)
{
foreach($taxonomy_names as $tax)
{
$args = array(
'orderby' => 'name',
'hide_empty' => 0,
'show_count' => 0,
'pad_counts' => 0,
'hierarchical' => 1,
'taxonomy' => $tax,
'title_li' => ''
);
wp_list_categories($args);
}
}