get_bookmarks() missing exclude_category parameter?
-
I want to get bookmarks with category A (the id = 2) and exclude some of the others which is category B (the id = 3).
I tried something like this:$args[‘category’] = ‘2,-3’;
$my_bookmarks = get_bookmarks( $args );But not worked. And i’m not comfortable using wp_list_bookmarks() as i’m not going to display the bookmarks.
Any idea? Thx
- The topic ‘get_bookmarks() missing exclude_category parameter?’ is closed to new replies.