Changes between Initial Version and Version 1 of Ticket #18947, comment 22
- Timestamp:
- 07/31/2015 07:39:38 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18947, comment 22
initial v1 7 7 We've already got `add_image_size()`, `has_image_size()`, and `remove_image_size()` as well as `get_intermediate_image_sizes()` (all in media.php). Adding `get_image_size( $sizename )` would have name parity with the first 3 functions mentioned above, and would let someone easily implement a `get_image_sizes()` function themselves. Alternately we could implement both. 8 8 9 T Here's already decent-looking code for a `get_image_sizes()` function on the [Codex page for `get_intermediate_image_sizes()`](https://codex.wordpress.org/Function_Reference/get_intermediate_image_sizes).9 There's already decent-looking code for a `get_image_sizes()` function on the [Codex page for `get_intermediate_image_sizes()`](https://codex.wordpress.org/Function_Reference/get_intermediate_image_sizes).