Remove some options from "Actions" in Detail View

Hello Experts,
Good morning
Help please. I want to remove some options in drop-down from “Actions” in Detail view like ‘Reset home Page’ etc. How can i do that ?

For other modules, you can have a definition of buttons in

modules/Yourmodule/metadata/detailviewdefs.php

For User module, you will have it at the below path, due to control security actions and system preferences.

modules/Users/views/view.detail.php

Ok Thanks i will check and let you know.