do_action( 'bp_template_include_reset_dummy_post_data' )

Fires when resetting main query vars and filtering ‘the_content’ to output BuddyPress template parts.

Description

Use this action to execute code that will communicate to BuddyPress’s theme compatibility layer whether or not we’re replacing the_content() with some other template part.

Source

File: bp-core/bp-core-theme-compatibility.php

Changelog

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