get_all_category_ids for bookmark


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.


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

    $tautan=get_terms('link_category');//get links category object

    foreach($tautan as $isi) {
        $html.="t<li>$id - $nama</li>";

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

Leave an answer