bp_before_activity_loop
The LS Buddypress Activity plus tabs extension bp before activity loop hook.
Description
do_action( 'bp_before_activity_loop' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bp_before_activity_loop' );
- The following example is for adding a hook callback.
- // define the bp_before_activity_loop callback
- function action_bp_before_activity_loop( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bp_before_activity_loop', 'action_bp_before_activity_loop', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bp_before_activity_loop', 'action_bp_before_activity_loop', 10, 0 );
Defined (4)
The action is defined in the following location(s).
- /ls_bpfb_widgets.php
- do_action( 'bp_before_activity_loop' );
- /ls_bpfb_tabs.php
- do_action( 'bp_before_activity_loop' );
- do_action( 'bp_before_activity_loop' );
- do_action( 'bp_before_activity_loop' );