How to remove CSS and JS on non UM pages
You can remove Ultimate Member's CSS and JS files from the pages where they are not used to reduce page loading time.
Download and install the free extension Ultimate Member - Optimization. Go to wp-admin > Ultimate Member > Settings > General > Optimize and turn on these settings:
- Dequeue unused CSS files
- Dequeue unused JS files
Image - Optimize settings.