Now that I am doing more coding in WordPress, I am digging into this (basic) things that are necessary to have as a good reference.
It depends how often I will need this. But, sometimes I can’t remember what exactly I googled that took me to that one article/post that explained it in the way I wanted it.
So, here is … How to Properly Add jQuery Scripts to WordPress
Having said that. Here is the code I am planning to use with which I will be able to remove certain elements that are not necessary. Even based on the roles and permissions of the user.
See the Pen jQuery Remove by armandoduran (@armandoduran) on CodePen.light