bp_activity_comment_embed_after_recurse()

Clean up ’embed_post_id’ filter after comment recursion.

Description

This filter must be removed so that the non-comment filters take over again once the comments are done being processed.

See also

Source

File: bp-activity/bp-activity-functions.php

function bp_activity_comment_embed_after_recurse() {
	remove_filter( 'embed_post_id', 'bp_get_activity_comment_id' );
}

Changelog

Changelog
Version Description
BuddyPress 1.5.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.