| [ Index ] | 
		    PHP Cross Reference of BuddyPress | 
    
[Source view] [Print] [Project Stats]
Functions related to embedding single activity items externally.
| File Size: | 349 lines (11 kb) | 
| Included or required: | 0 times | 
| Referenced: | 0 times | 
| Includes or requires: | 0 files | 
| bp_activity_setup_oembed() X-Ref | 
| Loads our activity oEmbed component. since: 2.6.0  | 
| bp_activity_embed_excerpt_onclick_location_filter( $text ) X-Ref | 
| Catch links in embed excerpt so top.location.href can be added. Due to <iframe sandbox="allow-top-navigation">, links in embeds can only be clicked if invoked with top.location.href via JS. since: 2.6.0 param: string $text Embed excerpt return: string  | 
| bp_activity_embed_excerpt_onclick_location_filter_callback( $matches ) X-Ref | 
| Add onclick="top.location.href" to a link. since: 2.6.0 param: array $matches Items matched by bp_activity_embed_excerpt_onclick_location_filter(). return: string  | 
| bp_activity_embed_add_inline_styles() X-Ref | 
| Add inline styles for BP activity embeds. since: 2.6.0  | 
| bp_activity_embed_has_activity( $activity_id = 0 ) X-Ref | 
| Query for the activity item on the activity embed template. Basically a wrapper for {@link bp_has_activities()}, but allows us to use the activity loop without requerying for it again. since: 2.6.0 param: int $activity_id The activity ID. return: bool  | 
| bp_activity_embed_excerpt( $content = '' ) X-Ref | 
| Outputs excerpt for an activity embed item. since: 2.6.0  | 
| bp_activity_get_embed_excerpt( $content = '' ) X-Ref | 
| Generates excerpt for an activity embed item. since: 2.6.0 param: string $content The content to generate an excerpt for. return: string  | 
| bp_activity_embed_media() X-Ref | 
| Outputs the first embedded item in the activity oEmbed template. since: 2.6.0  | 
| Generated: Tue Nov 4 01:00:53 2025 | Cross-referenced by PHPXref 0.7.1 |