A site creates with bench new-site sitename is a new instance wich can have multiple apps installed, eg: erpnext, erpnext_shopify, etc.
A Custom App is an app which can be installed in multiple sites.
To create a new app, you should run bench new-app myappname and then install it in your site with bench --site yoursite install-app mysappname
The new app lives in the /apps/ folder inside your bench, you can open it with your favorite ide or text editor and start to code without a worry in change the frappe / erpnext code.
Did you create the custom app with the bench new-app yourcustomapp command?
In this case, you can find the hook.py file under /home/user/frappe-bench/apps/yourcustomapp/yourcustomapp/hooks.py
After editing you should clear the cache and reload the page and if you are working on a server you should do a sudo bench restart
Yes, you need to create a custom app and install it on your site.
At this moment you don’t have any custom app created, only have erpnext and frappe app.
I recommend you to make this tutorial first in order to achieve basic knowledge.
I think that you must move the hide_help_menu.js file inside the js folder or instead change the path in your hooks to "/assets/pro_enterprise/hide_help_menu.js".
Also you can use the developers tools to see if the file is loaded
But when I right click on it, this link open it in new tap perfectly. It contain all the html code and other thing, except the java script code that I was wrote:
$(function() {
$(‘.dropdown-help’).hide();
});
Edit: Please check the embedded link of that file, which displays the code. js file