get_all_category_ids for bookmark

Question

I was wondering how to create a list of categories name and ids for WordPress Bookmarks such as get_all_category_ids for post.

I tried using the get_bookmarks, but the category does not appear in it.

Update:

Based on advice from @Mridul-Aggarwal, I wrote code that might be useful:

<?php
    $tautan=get_terms('link_category');//get links category object
    $html="<ul>rn";//Init

    /*Looping*/
    foreach($tautan as $isi) {
        $nama=$isi->name;
        $id=$isi->term_taxonomy_id;
        $html.="t<li>$id - $nama</li>";
    };
    $html.="</ul>rn";

    /*Output*/
    echo $html;
?>
0
, , bayuah 8 years 2012-11-22T07:49:07-05:00 0 Answers 93 views 0

Leave an answer