Created
December 5, 2013 20:14
-
-
Save PittsburghChris/7813065 to your computer and use it in GitHub Desktop.
Make the add_image_size you've placed into functions.php available on the Admin side on the Media Library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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