SHARE
TWEET

Untitled

a guest Jan 11th, 2017 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter('image_size_names_choose', 'my_image_sizes');
  2. function my_image_sizes($sizes) {
  3. $addsizes = array(
  4. "new-size" => __( "New Size")
  5. );
  6. $newsizes = array_merge($sizes, $addsizes);
  7. return $newsizes;
  8. }
RAW Paste Data
Top