# HG changeset patch # User Marcin Kuzminski # Date 2018-09-20 02:34:37 # Node ID 7506db6163e313eaca2df5431c1ae81674ddcbd3 # Parent 4cafb0933f519535abe9225b0aaa717bbf278ce6 docs: updated example hooks line diff --git a/docs/admin/admin-tricks.rst b/docs/admin/admin-tricks.rst --- a/docs/admin/admin-tricks.rst +++ b/docs/admin/admin-tricks.rst @@ -162,7 +162,8 @@ To add custom hooks to your instance, us 1. Open :menuselection:`Admin --> Settings --> Hooks` 2. Add your custom hook details, you can use a file path to specify custom - hook scripts, for example: ``python:/path/to/custom_hook.py`` + hook scripts, for example: + ``pretxnchangegroup.example`` with value ``python:/path/to/custom_hook.py:my_func_name`` 3. Select :guilabel:`Save` Also, see the |RC| Extensions section of the :ref:`rc-tools` guide. |RC|