/Engine/Source/Developer/ToolMenus/Public/ToolMenus.h
Remove substitute one menu for another during generate
void RemoveSubstitutionDuringGenerate ( const [FName](API\Runtime\Core\UObject\FName) InMenu )