BuddyDev

Search

mpp_media_src( $type = ”, $media = null )

Print media source.

Usage

Parameters

This function takes type and MPP_Media object or media id as parameter if being used outside the media loop. In the loop, it will print the source of current media.

Returns

It does not return any value.

Note:-

See MediaPress media loop on how to use it.

Changelog

  • Since 1.0.0