/Engine/Source/Editor/PinnedCommandList/Public/IPinnedCommandList.h
Register a custom widget. This allows the widget to be dynamically reconstructed according to the persisted commands.
void RegisterCustomWidget ( [FOnGenerateCustomWidget](API\Editor\PinnedCommandList\IPinnedCommandList\FOnGenerateCustomWidget) InOnGenerateCustomWidget, [FName](API\Runtime\Core\UObject\FName) InCustomWidgetIdentifier, [TAttribute](API\Runtime\Core\Misc\TAttribute)< [FText](API\Runtime\Core\Internationalization\FText) > InCustomWidgetDisplayName, [FMargin](API\Runtime\SlateCore\Layout\FMargin) InCustomWidgetPadding, bool bInShowLabel )