The function of the hepatic portal circulation is to :
Hepatic portal vein collects nutrient-rich blood from intestines and spleen delivering it to liver for processing, glycogen storage, detoxification and protein synthesis. It does not carry toxins to urinary system, distribute hormones broadly or transfer bile from pancreas.
Ref: Guyton and Hall, Textbook of Medical Physiology, 14th Edition, Chapter 65 Liver, describes hepatic portal circulation collecting absorbed nutrients from intestine for metabolic processing and storage in liver, published by Elsevier.