bp_activity_screen_my_activity
Fires right before the loading of the "My Activity" screen template file.
Description
do_action( 'bp_activity_screen_my_activity' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bp_activity_screen_my_activity' );
- The following example is for adding a hook callback.
- // define the bp_activity_screen_my_activity callback
- function action_bp_activity_screen_my_activity( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bp_activity_screen_my_activity', 'action_bp_activity_screen_my_activity', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bp_activity_screen_my_activity', 'action_bp_activity_screen_my_activity', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /bp-activity/bp-activity-screens.php
- do_action( 'bp_activity_screen_my_activity' );