bp_media_activity_embed_gif( $content,  $activity )

Embed gif in activity content

Description

Parameters

$content

(Required)

$activity

(Required)

Return

(string)

Source

File: bp-media/bp-media-filters.php

function bp_media_activity_embed_gif( $content, $activity ) {

	$gif_content = bp_media_activity_embed_gif_content(  $activity->id );

	if ( ! empty( $gif_content ) ) {
		$content .= $gif_content;
	}

	return $content;
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.