Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Make the add_image_size you've placed into functions.php available on the Admin side on the Media Library
add_filter( 'image_size_names_choose', 'my_custom_sizes' );
function my_custom_sizes( $sizes ) {
return array_merge( $sizes, array(
'your-custom-size' => __('Your Custom Size Name'),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment