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
1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 | 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
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.