do_action( 'bp_locate_template' )

This action exists only to follow the standard BuddyPress coding convention, and should not be used to short-circuit any part of the template locator.

Description

If you want to override a specific template part, please either filter ‘bp_get_template_part’ or add a new location to the template stack.

Source

File: bp-core/bp-core-template-loader.php

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.