original_string: public static function _add_extra_type_props_data( $props, $id, $type ) {
  		$settings_fields = array(
  			'hide_label',
  			'position',
  			'vertical_align',
  		);
  
  		if ( 'Font' === $props['controller'] ) {
  			$settings_fields[] = 'font_size';
  		}
  
  		switch ( $id ) {
  			case 'image':
  				$settings_fields[] = 'image_size';
  				break;
  			case 'svg':
  				$settings_fields[] = 'svg_width';
  				break;
  		}
  
  		$props['data']['settingsFields'] = $settings_fields;
  
  		return $props;
  	}
code: public static function _add_extra_type_props_data( $props, $id, $type ) {
  		$settings_fields = array(
  			'hide_label',
  			'position',
  			'vertical_align',
  		);
  
  		if ( 'Font' === $props['controller'] ) {
  			$settings_fields[] = 'font_size';
  		}
  
  		switch ( $id ) {
  			case 'image':
  				$settings_fields[] = 'image_size';
  				break;
  			case 'svg':
  				$settings_fields[] = 'svg_width';
  				break;
  		}
  
  		$props['data']['settingsFields'] = $settings_fields;
  
  		return $props;
  	}
code_tokens: public static function _add_extra_type_props_data ( $ props , $ id , $ type ) { $ settings_fields = array ( 'hide_label' , 'position' , 'vertical_align' , ) ; if ( 'Font' === $ props [ 'controller' ] ) { $ settings_fields [ ] = 'font_size' ; } switch ( $ id ) { case 'image' : $ settings_fields [ ] = 'image_size' ; break ; case 'svg' : $ settings_fields [ ] = 'svg_width' ; break ; } $ props [ 'data' ] [ 'settingsFields' ] = $ settings_fields ; return $ props ; }
docstring: Add extra icon type properties data
  
  @since   0.9.0
  @wp_hook action icon_picker_type_props
  
  @param   array            $props Icon type properties.
  @param   string           $id    Icon type ID.
  @param   Icon_Picker_Type $type  Icon_Picker_Type object.
  
  @return  array
docstring_tokens: Add extra icon type properties data