Media Filters

A list of NGFB filters used to modify and return information about images and videos.

If you’d like to customize and integrate additional features into the NGFB plugin, we offer custom development services. Submit a ticket to describe your requirements, and we can give you an idea of the expected time and cost to develop your custom feature(s).

Returns an Array

ngfb_attached_image_ids ( $attach_ids, $post_id )
Receives (and should return) an array of attached image IDs. The image IDs are sorted numerically from largest to smallest by default. Use this filter re-arrange the order of image IDs (for example).
ngfb_og_featured ( $og_ret, $num, $size_name = 'thumbnail', $post_id, $check_dupes = true )
Receives (and should return) a two-dimensional array describing the featured image.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>