Skip to content

Instantly share code, notes, and snippets.

@jamesmthornton
Created October 13, 2021 14:21
Show Gist options
  • Save jamesmthornton/5a88fc8f06297c8a9e331d7195ab66df to your computer and use it in GitHub Desktop.
Save jamesmthornton/5a88fc8f06297c8a9e331d7195ab66df to your computer and use it in GitHub Desktop.
WP check image sizes
<?php
// check default image sizes
print_r( get_intermediate_image_sizes() );
// check registered image sizes
global $_wp_additional_image_sizes;
print_r( $_wp_additional_image_sizes ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment