<?php $category = get_terms('gallery_albums');//custom category name foreach ($category as $catVal) { $AlbumName[] = $catVal->name; } echo "<pre>"; print_r($AlbumName); echo "</pre>"; ?>
Add to favorites