BuddyDev

Search

mpp_get_gallery_creator_id( $gallery = false )

Returns the Id of the user who created current gallery.

Usage

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 id of the users who created current gallery.

Returns

int – Numeric id of the user who created this gallery.

Note:-

See MediaPress gallery loop on how to use it.

Changelog

  • Since 1.0.0