![Favorite Favorite](https://garthbaker.co.za/wp-content/plugins/wp-favorite-posts/img/star.png)
![Loading Loading](https://garthbaker.co.za/wp-content/plugins/wp-favorite-posts/img/loading.gif)
<?php $category = get_terms('gallery_albums');//custom category name foreach ($category as $catVal) { $AlbumName[] = $catVal->name; } echo "<pre>"; print_r($AlbumName); echo "</pre>"; ?>
<?php $category = get_terms('gallery_albums');//custom category name foreach ($category as $catVal) { $AlbumName[] = $catVal->name; } echo "<pre>"; print_r($AlbumName); echo "</pre>"; ?>