Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

mpp_gallery_id( $gallery = false )

Prints the Id of current gallery in the loop.

Usage

Parameters

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 id 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