fetch_reviews(); $perpage = 5; $index = 0; $slice = array_slice($reviews, $index, $perpage); $lastCount = $perpage; $page = 1; $votes = $class->fetch_votes(); $text_color = get_option("allagentsreviews_shortcode_text_color"); $bg_color = get_option("allagentsreviews_shortcode_container_bg"); $review_url = get_option("allagentsreviews_api_url_reviews"); $main_branch = explode("/reviews", $review_url); $main_url = explode("/api/v1/firms/", $main_branch[0]); ?>