Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter curlybracket

    (@veganist)

    Oh, just one remark.
    Your example in the FAQ misses a closing bracket:

    <?php
    add_filter( 'menu_image_default_sizes', function($sizes){
    
      // remove the default 36x36 size
      unset($sizes['menu-36x36'];
    
      // add a new size
      $sizes['menu-50x50'] = array(50,50);
    
      // return $sizes (required)
      return $sizes;
    
    });
    ?>

    here:

    unset($sizes['menu-36x36']);

    Hi, thnx for support!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Great plugin’ is closed to new replies.