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

BuddyDev

Search

mpp_media_creator_id( $media = false )

Prints the User id of  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 print the user id  of person who create the current media.

Returns

It does not return any value.

Note:-

See MediaPress media loop on how to use it.

Changelog

  • Since 1.0.0