WordPress.org

Ready to get started?Download WordPress

Forums

Need some help with modifying get_objects_in_term() (1 post)

  1. 28inch
    Member
    Posted 1 year ago #

    I want to list images from nextgen gallery using tags. Which is not a big deal BUT in this case I need images whic belongs to muliple tags:

    something like this:

    get_objects_in_term_intersection(array("141","144"), "ngg_tag");

    so I only need an object if it belongs to BOTH 141 and 144 (or any number of tags passed to the array).

    Nextgen uses get_objects_in_term() from wp-includes/taxonomy.php from line 494:

Topic Closed

This topic has been closed to new replies.

About this Topic