BuddyDev

Search

mpp_get_media_creator_id( $media = false )

Returns the user id of the person who create the current media.

Usage

Parameters

This function takes the MPP_Media object or media id as parameter if being used outside the media loop. In the loop, it will return the user id of the person who create the current media.

Returns

It return the user id of user who create the  current media.

Note:-

See MediaPress media loop on how to use it.

Changelog

  • Since 1.0.0

 

Subscribe