id. '">'; $dropdown .= 'default, false ) . '>' . __( 'Full', 'avant' ) . ''; foreach ( get_intermediate_image_sizes() as $_size ) { $dropdown .= 'default, false ) . '>'; if ( in_array( $_size, array('thumbnail', 'medium', 'medium_large', 'large') ) ) { $dropdown .= ucwords( str_replace( array('_', '-'), ' ', $_size ) ) . ' (' . get_option( "{$_size}_size_w" ) . ' X ' . get_option( "{$_size}_size_h" ) . ')'; } elseif ( isset( $_wp_additional_image_sizes[ $_size ] ) ) { $dropdown .= ucwords( str_replace( array('_', '-'), ' ', $_size ) ) . ' (' . $_wp_additional_image_sizes[ $_size ]['width'] . ' X ' . $_wp_additional_image_sizes[ $_size ]['height'] . ')'; } $dropdown .= ''; } $dropdown .= ''; printf( '%s %s', $this->label, $dropdown ); if ( isset( $this->description ) ) { echo '' . $this->description . ''; } } }