bp_activity_action_delete_activity, $activity_id, $activity->user_id

bp_activity_action_delete_activity, $activity_id, $activity->user_id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_activity_action_delete_activity, $activity_id, $activity->user_id') is found 1 times:

  • /bp-activity/actions/delete.php line 64
    	 *
    	 * @param int $activity_id The activity ID.
    	 * @param int $user_id     The user associated with the activity.
    	 */
    	do_action( 'bp_activity_action_delete_activity', $activity_id, $activity->user_id );
    
    	// Check for the redirect query arg, otherwise let WP handle things.
    	if ( !empty( $_GET['redirect_to'] ) )
    		bp_core_redirect( esc_url( $_GET['redirect_to'] ) );
    	else
    		bp_core_redirect( wp_get_referer() );