mpp_get_gallery_description( $gallery = false )
Returns the description of current gallery in the loop.
Usage
1 | <?php $desc = mpp_get_gallery_description();?> |
Parameters
This function takes the MPP_Gallery object or gallery id as parameter if being used outside the gallery loop. In the loop, it will return the description of current gallery.
Returns
String – Description of the current gallery.
Note:-
See MediaPress gallery loop on how to use it.
Changelog
- Since 1.0.0