diff --git a/lsx-health-plan.php b/lsx-health-plan.php index 0cc940e..318f02f 100644 --- a/lsx-health-plan.php +++ b/lsx-health-plan.php @@ -72,8 +72,8 @@ function lsx_get_svg_icon( $icon ) { $path = '/assets/images/'; if ( file_exists( LSX_HEALTH_PLAN_PATH . $path . $icon ) ) { - // Load and return the contents of the file. - return include LSX_HEALTH_PLAN_PATH . $path . $icon; + // Load and return the contents of the file + return file_get_contents(LSX_HEALTH_PLAN_PATH . $path . $icon); } // Return a blank string if we can't find the file.