BuddyDev

Search

mpp_get_media_status( $media = false )

Returns the status of current media in the loop.

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 status of current media.

Returns

String, it returns the status of current media in the loop.

Note:-

See MediaPress media loop on how to use it.

Changelog

  • Since 1.0.0