mpp_get_gallery_title( $gallery = false )
Returns the title of current gallery in the loop.
<?php $title = mpp_get_gallery_title();?>
This function takes the MPP_Gallery object or gallery id as parameter if being used outside the gallery. In the loop, it will print the title of current gallery.
String – title of the gallery.
See MediaPress gallery loop on how to use it.
- Since 1.0.0