mpp_get_gallery_date_created( $gallery = false )
Returns the localized date of creation of current gallery in the loop.
Usage
1 | <?php $date = mpp_get_gallery_date_created();?> |
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 date of creation of current gallery.
Returns
String – Localized date.
Note:-
See MediaPress gallery loop on how to use it.
Changelog
- Since 1.0.0