BuddyDev

Search

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

Returns the css classes 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

String – A list of css classes.

Note:-

See MediaPress gallery loop on how to use it.

Changelog

  • Since 1.0.0

 

Subscribe