Created
February 4, 2014 12:13
-
-
Save shazdeh/8802568 to your computer and use it in GitHub Desktop.
Register an image size as public
This file contains 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
<?php | |
function custom_themify_extend_image_sizes( $sizes ) { | |
$sizes['extralarge'] = __( 'Extra Large', 'themify' ); | |
return $sizes; | |
} | |
add_filter( 'image_size_names_choose', 'custom_themify_extend_image_sizes' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment