New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

mpp_load_media_view( $media = null )

The goal of this function is to generate the appropriate output of media based on media type.

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 generate the output of media.

Returns

It does not return any value.

Note:-

See MediaPress media loop on how to use it.

Changelog

  • Since 1.0.0