+ visitor => array with the contact record of the visitor
+ url => the query string
+
+### jot_networks
+Called when displaying the post permission screen.
+Hook data is a list of form fields that need to be displayed along the ACL.
+Form field array structure is:
+
+- **type**: `checkbox` or `select`.
+- **field**: Standard field data structure to be used by `field_checkbox.tpl` and `field_select.tpl`.
+
+For `checkbox`, **field** is:
+ - [0] (String): Form field name; Mandatory.
+ - [1]: (String): Form field label; Optional, default is none.
+ - [2]: (Boolean): Whether the checkbox should be checked by default; Optional, default is false.
+ - [3]: (String): Additional help text; Optional, default is none.
+ - [4]: (String): Additional HTML attributes; Optional, default is none.
+
+For `select`, **field** is:
+ - [0] (String): Form field name; Mandatory.
+ - [1] (String): Form field label; Optional, default is none.
+ - [2] (Boolean): Default value to be selected by default; Optional, default is none.
+ - [3] (String): Additional help text; Optional, default is none.
+ - [4] (Array): Associative array of options. Item key is option value, item value is option label; Mandatory.
+
+### route_collection
+Called just before dispatching the router.
+Hook data is a `\FastRoute\RouterCollector` object that should be used to add addon routes pointing to classes.
+
+**Notice**: The class whose name is provided in the route handler must be reachable via auto-loader.
+
+### probe_detect
+
+Called before trying to detect the target network of a URL.
+If any registered hook function sets the `result` key of the hook data array, it will be returned immediately.
+Hook functions should also return immediately if the hook data contains an existing result.
+
+Hook data:
+
+- **uri** (input): the profile URI.
+- **network** (input): the target network (can be empty for auto-detection).
+- **uid** (input): the user to return the contact data for (can be empty for public contacts).
+- **result** (output): Set by the hook function to indicate a successful detection.
+
+## Complete list of hook callbacks
+
+Here is a complete list of all hook callbacks with file locations (as of 24-Sep-2018). Please see the source for details of any hooks not documented above.
+
+### index.php
+
+ Hook::callAll('init_1');
+ Hook::callAll('app_menu', $arr);
+ Hook::callAll('page_content_top', DI::page()['content']);
+ Hook::callAll($a->module.'_mod_init', $placeholder);
+ Hook::callAll($a->module.'_mod_init', $placeholder);
+ Hook::callAll($a->module.'_mod_post', $_POST);
+ Hook::callAll($a->module.'_mod_afterpost', $placeholder);
+ Hook::callAll($a->module.'_mod_content', $arr);
+ Hook::callAll($a->module.'_mod_aftercontent', $arr);
+ Hook::callAll('page_end', DI::page()['content']);
+
+### include/api.php
+
+ Hook::callAll('logged_in', $a->user);
+ Hook::callAll('authenticate', $addon_auth);
+ Hook::callAll('logged_in', $a->user);
+
+### include/enotify.php
+
+ Hook::callAll('enotify', $h);
+ Hook::callAll('enotify_store', $datarray);
+ Hook::callAll('enotify_mail', $datarray);
+ Hook::callAll('check_item_notification', $notification_data);
+
+### include/conversation.php
+
+ Hook::callAll('conversation_start', $cb);
+ Hook::callAll('render_location', $locate);
+ Hook::callAll('display_item', $arr);
+ Hook::callAll('display_item', $arr);
+ Hook::callAll('item_photo_menu', $args);
+ Hook::callAll('jot_tool', $jotplugins);
+
+### mod/directory.php
+
+ Hook::callAll('directory_item', $arr);
+
+### mod/xrd.php
+
+ Hook::callAll('personal_xrd', $arr);
+
+### mod/ping.php
+
+ Hook::callAll('network_ping', $arr);
+
+### mod/parse_url.php
+
+ Hook::callAll("parse_link", $arr);
+
+### src/Module/Delegation.php
+
+ Hook::callAll('home_init', $ret);
+
+### mod/acl.php
+
+ Hook::callAll('acl_lookup_end', $results);
+
+### mod/network.php
+
+ Hook::callAll('network_content_init', $arr);
+ Hook::callAll('network_tabs', $arr);
+
+### mod/friendica.php
+
+ Hook::callAll('about_hook', $o);
+
+### mod/subthread.php
+
+ Hook::callAll('post_local_end', $arr);
+
+### mod/profiles.php
+
+ Hook::callAll('profile_post', $_POST);
+ Hook::callAll('profile_edit', $arr);
+
+### mod/settings.php
+
+ Hook::callAll('addon_settings_post', $_POST);
+ Hook::callAll('connector_settings_post', $_POST);
+ Hook::callAll('display_settings_post', $_POST);
+ Hook::callAll('settings_post', $_POST);
+ Hook::callAll('addon_settings', $settings_addons);
+ Hook::callAll('connector_settings', $settings_connectors);
+ Hook::callAll('display_settings', $o);
+ Hook::callAll('settings_form', $o);
+
+### mod/photos.php
+
+ Hook::callAll('photo_post_init', $_POST);
+ Hook::callAll('photo_post_file', $ret);
+ Hook::callAll('photo_post_end', $foo);
+ Hook::callAll('photo_post_end', $foo);
+ Hook::callAll('photo_post_end', $foo);
+ Hook::callAll('photo_post_end', $foo);
+ Hook::callAll('photo_post_end', intval($item_id));
+ Hook::callAll('photo_upload_form', $ret);
+
+### mod/profile.php
+
+ Hook::callAll('profile_advanced', $o);
+
+### mod/home.php
+
+ Hook::callAll('home_init', $ret);
+ Hook::callAll("home_content", $content);
+
+### mod/poke.php
+
+ Hook::callAll('post_local_end', $arr);
+
+### mod/contacts.php
+
+ Hook::callAll('contact_edit_post', $_POST);
+ Hook::callAll('contact_edit', $arr);
+
+### mod/tagger.php
+
+ Hook::callAll('post_local_end', $arr);
+
+### mod/uexport.php
+
+ Hook::callAll('uexport_options', $options);
+
+### mod/register.php
+
+ Hook::callAll('register_post', $arr);
+ Hook::callAll('register_form', $arr);
+
+### mod/item.php
+
+ Hook::callAll('post_local_start', $_REQUEST);
+ Hook::callAll('post_local', $datarray);
+ Hook::callAll('post_local_end', $datarray);
+
+### mod/editpost.php
+
+ Hook::callAll('jot_tool', $jotplugins);
+
+### src/Network/FKOAuth1.php
+
+ Hook::callAll('logged_in', $a->user);
+
+### src/Render/FriendicaSmartyEngine.php
+
+ Hook::callAll("template_vars", $arr);
+
+### src/App.php
+
+ Hook::callAll('load_config');
+ Hook::callAll('head');
+ Hook::callAll('footer');
+ Hook::callAll('route_collection');
+
+### src/Model/Item.php
+
+ Hook::callAll('post_local', $item);
+ Hook::callAll('post_remote', $item);
+ Hook::callAll('post_local_end', $posted_item);
+ Hook::callAll('post_remote_end', $posted_item);
+ Hook::callAll('tagged', $arr);
+ Hook::callAll('post_local_end', $new_item);
+ Hook::callAll('put_item_in_cache', $hook_data);
+ Hook::callAll('prepare_body_init', $item);
+ Hook::callAll('prepare_body_content_filter', $hook_data);
+ Hook::callAll('prepare_body', $hook_data);
+ Hook::callAll('prepare_body_final', $hook_data);
+
+### src/Model/Contact.php
+
+ Hook::callAll('contact_photo_menu', $args);
+ Hook::callAll('follow', $arr);
+
+### src/Model/Profile.php
+
+ Hook::callAll('profile_sidebar_enter', $profile);
+ Hook::callAll('profile_sidebar', $arr);
+ Hook::callAll('profile_tabs', $arr);
+ Hook::callAll('zrl_init', $arr);
+ Hook::callAll('magic_auth_success', $arr);
+
+### src/Model/Event.php
+
+ Hook::callAll('event_updated', $event['id']);
+ Hook::callAll("event_created", $event['id']);
+
+### src/Model/User.php
+
+ Hook::callAll('register_account', $uid);
+ Hook::callAll('remove_user', $user);
+
+### src/Module/PermissionTooltip.php
+
+ Hook::callAll('lockview_content', $item);