Skip to content

Commit

Permalink
#6 : change the doc for the custom sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeCulea committed Oct 31, 2018
1 parent 180daba commit 937867f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 937867f

Please sign in to comment.