bp_activity_screen_my_activity()
Load the ‘My Activity’ page.
Description
Source
File: bp-activity/screens/just-me.php
function bp_activity_screen_my_activity() {
/**
* Fires right before the loading of the "My Activity" screen template file.
*
* @since BuddyPress 1.0.0
*/
do_action( 'bp_activity_screen_my_activity' );
/**
* Filters the template to load for the "My Activity" screen.
*
* @since BuddyPress 1.0.0
*
* @param string $template Path to the activity template to load.
*/
bp_core_load_template( apply_filters( 'bp_activity_template_my_activity', 'members/single/home' ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 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.