...
No, you can not override an existing API, which is globally accessible. However, if needed you can create a new global API, which is globally accessible. For more information, see Adding see Adding a New Global API.
...
Questions regarding locations of key ES files and directories
...