bbp_add_user_favorite

bbp_add_user_favorite

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_add_user_favorite') is found 1 times:

  • /includes/users/engagements.php line 532
    	if ( ! bbp_add_user_to_object( $topic_id, $user_id, '_bbp_favorite' ) ) {
    		return false;
    	}
    
    	do_action( 'bbp_add_user_favorite', $user_id, $topic_id );
    
    	return true;
    }
    
    /**
     * Remove a topic from user's favorites
    

See this hook used in plugins: