Skip to content

Commit d798691

Browse files
committed
added filter to change availbale image sizes
1 parent 84e9f69 commit d798691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/Media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public static function image_dimensions() {
354354
);
355355
}
356356

357-
return $sizes;
357+
return apply_filters( 'jio_settings_image_sizes', $sizes );
358358

359359
}
360360

0 commit comments

Comments
 (0)