File: bp-media/classes/class-bp-media-template.php
Description
BP_Media_Template

The main media template loop class.

Source: bp-media/classes/class-bp-media-template.php:18

BP_Media_Template::__construct()

Constructor method.

Source: bp-media/classes/class-bp-media-template.php:136

BP_Media_Template::has_media()

Whether there are media items available in the loop.

Source: bp-media/classes/class-bp-media-template.php:253

BP_Media_Template::next_media()

Set up the next media item and iterate index.

Source: bp-media/classes/class-bp-media-template.php:268

BP_Media_Template::rewind_medias()

Rewind the posts and reset post index.

Source: bp-media/classes/class-bp-media-template.php:280

BP_Media_Template::user_medias()

Whether there are media items left in the loop to iterate over.

Source: bp-media/classes/class-bp-media-template.php:301

media_loop_end

Fires right before the rewinding of media posts.

Source: bp-media/classes/class-bp-media-template.php:311

BP_Media_Template::the_media()

Set up the current media item inside the loop.

Source: bp-media/classes/class-bp-media-template.php:333

media_loop_start

Fires if the current media item is the first in the activity loop.

Source: bp-media/classes/class-bp-media-template.php:350