I'm rewriting a plugin based on v1.9.12, that customize Related Photos in the post page redirecting to gallery page to the photo,
I done this by adding to ngg_show_related_gallery_content filter the $picturelist variable, like this:
$out = apply_filters('ngg_show_related_gallery_content', $out, $taglist, &$picturelist);
and adding a filter,
how can I do this on version 2.0.23?
Thanks a lot