bp_media_comment_embed_gif( $comment_id )
Embed gif in activity comment content
Description
Parameters
- $content
-
(Required)
- $activity
-
(Required)
Return
(string)
Source
File: bp-media/bp-media-filters.php
function bp_media_comment_embed_gif( $activity_id ) {
$gif_content = bp_media_activity_embed_gif_content( $activity_id );
if ( ! empty( $gif_content ) ) {
echo $gif_content;
}
}
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.