diff --git a/README.md b/README.md index a7ce9ee..171631b 100755 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ This ACF field type is compatible with: add_filter( 'acf_svg_icon_filepath', 'bea_svg_icon_filepath' ); function bea_svg_icon_filepath( $filepath ) { if ( is_file( get_stylesheet_directory() . '/assets/icons/icons.svg' ) ) { - $filepath = get_stylesheet_directory() . '/assets/icons/icons.svg'; + $filepath[] = get_stylesheet_directory() . '/assets/icons/icons.svg'; } return $filepath; }