Flatten All Layer Masks At Once
If you want to flatten all layer masks at once, go to File > Scripts > Flatten All Masks. This is a destructive action so make sure you really want to do this before running this script.
For more tips and tutorials, subscribe to Photoshop Training Channel on YouTube!