mpp_gallery_type( $gallery = false )
Prints the type of current gallery in the loop. The possible values are unique names used white registering media types eg. “photo”, “video”, “doc” etc.
Usage
1 | <?php mpp_gallery_type();?> |
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 print the type of current gallery.
Returns
It does not return any value.
Note:-
See MediaPress gallery loop on how to use it.
Changelog
- Since 1.0.0