BuddyDev

Search

mpp_gallery_class( $class = ”, $gallery = null )

Prints the css class to be applied to current gallery.

Usage

Parameters

$class (String) (Optional) – One or more css class to be added after the default classes.

$gallery (MPP_Gallery|int) (Optional) – Gallery object or id if used outside the loop.

Returns

It does not return any value.

Note:-

See MediaPress gallery loop on how to use it.

Changelog

  • Since 1.0.0