How To Use Custom Shipping Hooks

In the new version of MrketPress 2.8 there is a function of customizing shipping options with custom hooks. I can't find any information of how to use this function.

Can anyone help pls.

Alex