Created
July 2, 2018 15:36
-
-
Save orenshim/ca9c4edd609eebe09fab0275a983848b to your computer and use it in GitHub Desktop.
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
function my_custom_sizes( $sizes ) { | |
return array_merge( $sizes, array( | |
'content' => __( 'Content' ), | |
) ); | |
} | |
add_filter( 'image_size_names_choose', 'my_custom_sizes' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment