aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-04-30 06:59:19 +0000
committerMario <mario@mariovavti.com>2024-04-30 06:59:19 +0000
commit7c34a3676d294c9a1acc69f71ab3061074509160 (patch)
treead04cef0d545c5e5e24e76060b6c32d65363d48e /doc/hook
parent48cec945051d259a06871d937ad998a1bd3e22ec (diff)
downloadvolse-hubzilla-7c34a3676d294c9a1acc69f71ab3061074509160.tar.gz
volse-hubzilla-7c34a3676d294c9a1acc69f71ab3061074509160.tar.bz2
volse-hubzilla-7c34a3676d294c9a1acc69f71ab3061074509160.zip
Rework Help module + begin tests for Setup module
Diffstat (limited to 'doc/hook')
-rw-r--r--doc/hook/about_hook.bb1
-rw-r--r--doc/hook/accept_follow.bb1
-rw-r--r--doc/hook/account_downgrade.bb1
-rw-r--r--doc/hook/account_settings.bb1
-rw-r--r--doc/hook/account_settings_post.bb1
-rw-r--r--doc/hook/activity_decode_mapper.bb1
-rw-r--r--doc/hook/activity_filter.bb1
-rw-r--r--doc/hook/activity_mapper.bb1
-rw-r--r--doc/hook/activity_obj_decode_mapper.bb1
-rw-r--r--doc/hook/activity_obj_mapper.bb1
-rw-r--r--doc/hook/activity_order.bb1
-rw-r--r--doc/hook/activity_received.bb1
-rw-r--r--doc/hook/addon_app_installed_filter.bb18
-rw-r--r--doc/hook/affinity_labels.bb1
-rw-r--r--doc/hook/api_perm_is_allowed.bb1
-rw-r--r--doc/hook/app_destroy.bb4
-rw-r--r--doc/hook/app_installed_filter.bb17
-rw-r--r--doc/hook/atom_author.bb1
-rw-r--r--doc/hook/atom_entry.bb1
-rw-r--r--doc/hook/atom_feed.bb1
-rw-r--r--doc/hook/atom_feed_end.bb1
-rw-r--r--doc/hook/attach_delete.bb11
-rw-r--r--doc/hook/attach_upload_file.bb1
-rw-r--r--doc/hook/authenticate.bb29
-rw-r--r--doc/hook/author_is_pmable.bb14
-rw-r--r--doc/hook/bb2diaspora.bb1
-rw-r--r--doc/hook/bbcode.bb6
-rw-r--r--doc/hook/bbcode_filter.bb7
-rw-r--r--doc/hook/build_pagehead.bb2
-rw-r--r--doc/hook/can_comment_on_post.bb13
-rw-r--r--doc/hook/change_channel.bb11
-rw-r--r--doc/hook/channel_links.bb12
-rw-r--r--doc/hook/channel_remove.bb1
-rw-r--r--doc/hook/chat_message.bb1
-rw-r--r--doc/hook/chat_post.bb1
-rw-r--r--doc/hook/check_account_email.bb1
-rw-r--r--doc/hook/check_account_invite.bb1
-rw-r--r--doc/hook/check_account_password.bb17
-rw-r--r--doc/hook/check_channelallowed.bb11
-rw-r--r--doc/hook/check_siteallowed.bb10
-rw-r--r--doc/hook/collect_public_recipients.bb42
-rw-r--r--doc/hook/comments_are_now_closed.bb11
-rw-r--r--doc/hook/connect_premium.bb1
-rw-r--r--doc/hook/connection_remove.bb9
-rw-r--r--doc/hook/connector_settings.bb1
-rw-r--r--doc/hook/construct_page.bb1
-rw-r--r--doc/hook/contact_block_end.bb1
-rw-r--r--doc/hook/contact_edit.bb1
-rw-r--r--doc/hook/contact_edit_post.bb1
-rw-r--r--doc/hook/contact_select_options.bb1
-rw-r--r--doc/hook/content_security_policy.bb39
-rw-r--r--doc/hook/conversation_start.bb1
-rw-r--r--doc/hook/create_identity.bb1
-rw-r--r--doc/hook/cron.bb5
-rw-r--r--doc/hook/cron_daily.bb3
-rw-r--r--doc/hook/cron_weekly.bb3
-rw-r--r--doc/hook/crypto_methods.bb5
-rw-r--r--doc/hook/daemon_addon.bb15
-rw-r--r--doc/hook/daemon_master_release.bb5
-rw-r--r--doc/hook/directory_item.bb1
-rw-r--r--doc/hook/discover_channel_webfinger.bb14
-rw-r--r--doc/hook/display_item.bb1
-rw-r--r--doc/hook/display_settings.bb1
-rw-r--r--doc/hook/display_settings_post.bb1
-rw-r--r--doc/hook/donate_contributors.bb1
-rw-r--r--doc/hook/donate_plugin.bb1
-rw-r--r--doc/hook/donate_sponsors.bb1
-rw-r--r--doc/hook/dreport_is_storable.bb1
-rw-r--r--doc/hook/dreport_process.bb7
-rw-r--r--doc/hook/drop_item.bb1
-rw-r--r--doc/hook/dropdown_extras.bb17
-rw-r--r--doc/hook/encode_object.bb1
-rw-r--r--doc/hook/enotify.bb1
-rw-r--r--doc/hook/enotify_mail.bb1
-rw-r--r--doc/hook/enotify_store.bb1
-rw-r--r--doc/hook/event_created.bb1
-rw-r--r--doc/hook/event_store_event.bb11
-rw-r--r--doc/hook/event_updated.bb1
-rw-r--r--doc/hook/externals_url_select.bb1
-rw-r--r--doc/hook/feature_enabled.bb1
-rw-r--r--doc/hook/feature_settings.bb1
-rw-r--r--doc/hook/feature_settings_post.bb1
-rw-r--r--doc/hook/fetch_and_store.bb1
-rw-r--r--doc/hook/follow.bb1
-rw-r--r--doc/hook/follow_allow.bb1
-rw-r--r--doc/hook/gender_selector.bb1
-rw-r--r--doc/hook/gender_selector_min.bb1
-rw-r--r--doc/hook/generate_map.bb1
-rw-r--r--doc/hook/generate_named_map.bb1
-rw-r--r--doc/hook/get_all_api_perms.bb1
-rw-r--r--doc/hook/get_all_perms.bb1
-rw-r--r--doc/hook/get_default_export_sections10
-rw-r--r--doc/hook/get_features.bb1
-rw-r--r--doc/hook/get_photo.bb14
-rw-r--r--doc/hook/get_profile_photo.bb18
-rw-r--r--doc/hook/get_role_perms.bb1
-rw-r--r--doc/hook/global_permissions.bb1
-rw-r--r--doc/hook/home_content.bb1
-rw-r--r--doc/hook/home_init.bb1
-rw-r--r--doc/hook/hostxrd.bb1
-rw-r--r--doc/hook/html2bbcode.bb1
-rw-r--r--doc/hook/identity_basic_export.bb10
-rw-r--r--doc/hook/import_author_xchan.bb1
-rw-r--r--doc/hook/import_channel.bb1
-rw-r--r--doc/hook/import_directory_profile.bb1
-rw-r--r--doc/hook/import_xchan.bb1
-rw-r--r--doc/hook/item_custom.bb24
-rw-r--r--doc/hook/item_photo_menu.bb1
-rw-r--r--doc/hook/item_store.bb1
-rw-r--r--doc/hook/item_store_update.bb1
-rw-r--r--doc/hook/item_stored.bb18
-rw-r--r--doc/hook/item_stored_update.bb15
-rw-r--r--doc/hook/item_translate.bb1
-rw-r--r--doc/hook/jot_header_tpl_filter.bb5
-rw-r--r--doc/hook/jot_networks.bb1
-rw-r--r--doc/hook/jot_tool.bb1
-rw-r--r--doc/hook/jot_tpl_filter.bb5
-rw-r--r--doc/hook/legal_webbie.bb10
-rw-r--r--doc/hook/legal_webbie_text.bb7
-rw-r--r--doc/hook/load_pdl.bb1
-rw-r--r--doc/hook/local_dir_update.bb1
-rw-r--r--doc/hook/logged_in.bb1
-rw-r--r--doc/hook/logger.bb16
-rw-r--r--doc/hook/logging_out.bb1
-rw-r--r--doc/hook/login_hook.bb1
-rw-r--r--doc/hook/magic_auth.bb1
-rw-r--r--doc/hook/magic_auth_openid_success.bb1
-rw-r--r--doc/hook/magic_auth_success.bb1
-rw-r--r--doc/hook/main_slider.bb1
-rw-r--r--doc/hook/marital_selector.bb1
-rw-r--r--doc/hook/marital_selector_min.bb1
-rw-r--r--doc/hook/markdown_to_bb.bb5
-rw-r--r--doc/hook/module_loaded.bb1
-rw-r--r--doc/hook/module_mod_aftercontent.bb12
-rw-r--r--doc/hook/module_mod_content.bb10
-rw-r--r--doc/hook/module_mod_init.bb1
-rw-r--r--doc/hook/module_mod_post.bb1
-rw-r--r--doc/hook/mood_verbs.bb1
-rw-r--r--doc/hook/nav.bb28
-rw-r--r--doc/hook/network_content_init.bb1
-rw-r--r--doc/hook/network_ping.bb1
-rw-r--r--doc/hook/network_to_name.bb1
-rw-r--r--doc/hook/notifier_end.bb1
-rw-r--r--doc/hook/notifier_hub.bb1
-rw-r--r--doc/hook/notifier_normal.bb1
-rw-r--r--doc/hook/obj_verbs.bb1
-rw-r--r--doc/hook/oembed_probe.bb1
-rw-r--r--doc/hook/other_encapsulate.bb7
-rw-r--r--doc/hook/other_unencapsulate.bb5
-rw-r--r--doc/hook/page_content_top.bb1
-rw-r--r--doc/hook/page_end.bb1
-rw-r--r--doc/hook/page_header.bb1
-rw-r--r--doc/hook/page_meta.bb13
-rw-r--r--doc/hook/parse_atom.bb1
-rw-r--r--doc/hook/parse_link.bb1
-rw-r--r--doc/hook/pdl_selector.bb1
-rw-r--r--doc/hook/perm_is_allowed.bb1
-rw-r--r--doc/hook/permissions_create.bb1
-rw-r--r--doc/hook/permissions_update.bb1
-rw-r--r--doc/hook/permit_hook.bb0
-rw-r--r--doc/hook/personal_xrd.bb1
-rw-r--r--doc/hook/photo_post_end.bb1
-rw-r--r--doc/hook/photo_upload_begin.bb1
-rw-r--r--doc/hook/photo_upload_end.bb1
-rw-r--r--doc/hook/photo_upload_file.bb1
-rw-r--r--doc/hook/photo_upload_form.bb1
-rw-r--r--doc/hook/photo_view_filter.bb1
-rw-r--r--doc/hook/poke_verbs.bb1
-rw-r--r--doc/hook/post_local.bb1
-rw-r--r--doc/hook/post_local_end.bb1
-rw-r--r--doc/hook/post_local_start.bb1
-rw-r--r--doc/hook/post_mail.bb1
-rw-r--r--doc/hook/post_mail_end.bb1
-rw-r--r--doc/hook/post_remote.bb1
-rw-r--r--doc/hook/post_remote_end.bb1
-rw-r--r--doc/hook/post_remote_update.bb1
-rw-r--r--doc/hook/post_remote_update_end.bb1
-rw-r--r--doc/hook/prepare_body.bb1
-rw-r--r--doc/hook/prepare_body_final.bb1
-rw-r--r--doc/hook/prepare_body_init.bb1
-rw-r--r--doc/hook/privacygroup_extras.bb12
-rw-r--r--doc/hook/privacygroup_extras_drop.bb11
-rw-r--r--doc/hook/privacygroup_extras_post.bb11
-rw-r--r--doc/hook/proc_run.bb1
-rw-r--r--doc/hook/process_channel_sync_delivery.bb1
-rw-r--r--doc/hook/profile_advanced.bb1
-rw-r--r--doc/hook/profile_edit.bb1
-rw-r--r--doc/hook/profile_photo_content_end.bb1
-rw-r--r--doc/hook/profile_post.bb1
-rw-r--r--doc/hook/profile_sidebar.bb1
-rw-r--r--doc/hook/profile_sidebar_enter.bb1
-rw-r--r--doc/hook/register_account.bb1
-rw-r--r--doc/hook/render_location.bb1
-rw-r--r--doc/hook/replace_macros.bb1
-rw-r--r--doc/hook/reverse_magic_auth.bb1
-rw-r--r--doc/hook/settings_form.bb1
-rw-r--r--doc/hook/settings_post.bb1
-rw-r--r--doc/hook/sexpref_selector.bb1
-rw-r--r--doc/hook/sexpref_selector_min.bb1
-rw-r--r--doc/hook/smilie.bb19
-rw-r--r--doc/hook/status_editor.bb31
-rw-r--r--doc/hook/stream_item.bb13
-rw-r--r--doc/hook/system_app_installed_filter.bb18
-rw-r--r--doc/hook/tagged.bb16
-rw-r--r--doc/hook/update_unseen.bb9
-rw-r--r--doc/hook/validate_channelname.bb23
-rw-r--r--doc/hook/webfinger.bb1
-rw-r--r--doc/hook/well_known.bb1
-rw-r--r--doc/hook/wiki_preprocess.bb11
-rw-r--r--doc/hook/zid.bb1
-rw-r--r--doc/hook/zid_init.bb1
-rw-r--r--doc/hook/zot_best_algorithm.bb3
-rw-r--r--doc/hook/zot_finger.bb1
213 files changed, 0 insertions, 929 deletions
diff --git a/doc/hook/about_hook.bb b/doc/hook/about_hook.bb
deleted file mode 100644
index 22b60d786..000000000
--- a/doc/hook/about_hook.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]about_hook[/h2]
diff --git a/doc/hook/accept_follow.bb b/doc/hook/accept_follow.bb
deleted file mode 100644
index e8b1ed0c4..000000000
--- a/doc/hook/accept_follow.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]accept_follow[/h2]
diff --git a/doc/hook/account_downgrade.bb b/doc/hook/account_downgrade.bb
deleted file mode 100644
index 63bae0a58..000000000
--- a/doc/hook/account_downgrade.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]account_downgrade[/h2]
diff --git a/doc/hook/account_settings.bb b/doc/hook/account_settings.bb
deleted file mode 100644
index 91b3a8385..000000000
--- a/doc/hook/account_settings.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]account_settings[/h2]
diff --git a/doc/hook/account_settings_post.bb b/doc/hook/account_settings_post.bb
deleted file mode 100644
index bbd7a57a8..000000000
--- a/doc/hook/account_settings_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]account_settings_post[/h2]
diff --git a/doc/hook/activity_decode_mapper.bb b/doc/hook/activity_decode_mapper.bb
deleted file mode 100644
index 43d08a136..000000000
--- a/doc/hook/activity_decode_mapper.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]activity_decode_mapper[/h2]
diff --git a/doc/hook/activity_filter.bb b/doc/hook/activity_filter.bb
deleted file mode 100644
index 9d0768577..000000000
--- a/doc/hook/activity_filter.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]activity_filter[/h2]
diff --git a/doc/hook/activity_mapper.bb b/doc/hook/activity_mapper.bb
deleted file mode 100644
index db65fadc4..000000000
--- a/doc/hook/activity_mapper.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]activity_mapper[/h2]
diff --git a/doc/hook/activity_obj_decode_mapper.bb b/doc/hook/activity_obj_decode_mapper.bb
deleted file mode 100644
index a96b32eee..000000000
--- a/doc/hook/activity_obj_decode_mapper.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]activity_obj_decode_mapper[/h2]
diff --git a/doc/hook/activity_obj_mapper.bb b/doc/hook/activity_obj_mapper.bb
deleted file mode 100644
index 7c14a1b81..000000000
--- a/doc/hook/activity_obj_mapper.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]activity_obj_mapper[/h2]
diff --git a/doc/hook/activity_order.bb b/doc/hook/activity_order.bb
deleted file mode 100644
index 4a4670d03..000000000
--- a/doc/hook/activity_order.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]activity_order[/h2]
diff --git a/doc/hook/activity_received.bb b/doc/hook/activity_received.bb
deleted file mode 100644
index 2e9d68bf3..000000000
--- a/doc/hook/activity_received.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]activity_received[/h2]
diff --git a/doc/hook/addon_app_installed_filter.bb b/doc/hook/addon_app_installed_filter.bb
deleted file mode 100644
index e610b3205..000000000
--- a/doc/hook/addon_app_installed_filter.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-[h2]addon_app_installed_filter[/h2]
-
-Allow plugins to filter the result of addon_app_installed.
-
-Code excerpt:
-
-[code]
- $filter_arr = [
- 'uid'=>$uid,
- 'app'=>$app,
- 'installed'=>$r
- ];
- call_hooks('addon_app_installed_filter',$filter_arr);
- $r = $filter_arr['installed'];
-[/code]
-
-cxref: Zotlabs/Lib/Apps.php
-
diff --git a/doc/hook/affinity_labels.bb b/doc/hook/affinity_labels.bb
deleted file mode 100644
index 7234b7632..000000000
--- a/doc/hook/affinity_labels.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]affinity_labels[/h2]
diff --git a/doc/hook/api_perm_is_allowed.bb b/doc/hook/api_perm_is_allowed.bb
deleted file mode 100644
index 862cbd653..000000000
--- a/doc/hook/api_perm_is_allowed.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]api_perm_is_allowed[/h2]
diff --git a/doc/hook/app_destroy.bb b/doc/hook/app_destroy.bb
deleted file mode 100644
index 386d7af16..000000000
--- a/doc/hook/app_destroy.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-[h2]app_destroy[/h2]
-
-Allows addons to perform some post delete actions.
-
diff --git a/doc/hook/app_installed_filter.bb b/doc/hook/app_installed_filter.bb
deleted file mode 100644
index f0d91d6f0..000000000
--- a/doc/hook/app_installed_filter.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-[h2]app_installed_filter[/h2]
-
-Allow plugins to filter the result of app_installed.
-
-Code excerpt:
-
-[code]
- $filter_arr = [
- 'uid'=>$uid,
- 'app'=>$app,
- 'installed'=>$r
- ];
- call_hooks('app_installed_filter',$filter_arr);
- $r = $filter_arr['installed'];
-[/code]
-
-cxref: Zotlabs/Lib/Apps.php
diff --git a/doc/hook/atom_author.bb b/doc/hook/atom_author.bb
deleted file mode 100644
index c9d05a593..000000000
--- a/doc/hook/atom_author.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]atom_author[/h2]
diff --git a/doc/hook/atom_entry.bb b/doc/hook/atom_entry.bb
deleted file mode 100644
index 0aec89f16..000000000
--- a/doc/hook/atom_entry.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]atom_entry[/h2]
diff --git a/doc/hook/atom_feed.bb b/doc/hook/atom_feed.bb
deleted file mode 100644
index 69775ca5e..000000000
--- a/doc/hook/atom_feed.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]atom_feed[/h2]
diff --git a/doc/hook/atom_feed_end.bb b/doc/hook/atom_feed_end.bb
deleted file mode 100644
index 4f019fc8f..000000000
--- a/doc/hook/atom_feed_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]atom_feed_end[/h2]
diff --git a/doc/hook/attach_delete.bb b/doc/hook/attach_delete.bb
deleted file mode 100644
index 3b63f28d3..000000000
--- a/doc/hook/attach_delete.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h2]attach_delete[/h2]
-
-Invoked when an attachment is deleted using attach_delete().
-
-[code]
-$arr = ['channel_id' => $channel_id, 'resource' => $resource, 'is_photo'=>$is_photo];
-call_hooks("attach_delete",$arr);
-[/code]
-
-
-See include/attach.php
diff --git a/doc/hook/attach_upload_file.bb b/doc/hook/attach_upload_file.bb
deleted file mode 100644
index 1f8056caa..000000000
--- a/doc/hook/attach_upload_file.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]attach_upload_file[/h2]
diff --git a/doc/hook/authenticate.bb b/doc/hook/authenticate.bb
deleted file mode 100644
index eb8071e73..000000000
--- a/doc/hook/authenticate.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-[h2]authenticate[/h2]
-
-Invoked when a POST request is made with non-null $_POST['auth-params'] such as from the login form.
-If the hook handler does not set the 'authenticated' parameter of the passed array, normal login functions continue;
-
-The 'user_record' is in fact an account DB record. To provide automatic provisioning of accounts from other authentication realms, this record should be generated and stored during the verification phase.
-
-
-[code]
- $addon_auth = array(
- 'username' => trim($_POST['username']),
- 'password' => trim($_POST['password']),
- 'authenticated' => 0,
- 'user_record' => null
- );
-
- /**
- *
- * A plugin indicates successful login by setting 'authenticated' to non-zero value and returning a user record
- * Plugins should never set 'authenticated' except to indicate success - as hooks may be chained
- * and later plugins should not interfere with an earlier one that succeeded.
- *
- */
-
- call_hooks('authenticate', $addon_auth);
-[/code]
-
-
-See include/auth.php
diff --git a/doc/hook/author_is_pmable.bb b/doc/hook/author_is_pmable.bb
deleted file mode 100644
index 11d1185f3..000000000
--- a/doc/hook/author_is_pmable.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-[h2]author_is_pmable[/h2]
-
-Called from thread action menu before returning a 'send mail' link for the post author. Not all authors will be able to receive private mail, for instance those on other networks with incompatible mail systems.
-
-By default author_is_pmable() returns true for 'zot' xchans, and false for all others.
-
-The plugin is passed an array
-
- [ 'xchan' => $author_xchan, 'abook' => abook record, 'result' => 'unset' ]
-
-A plugin which sets the 'result' to something besides 'unset' will over-ride the default behaviour. A value of true will enable the 'send mail' link and the private mail recipient will be set to the author's xchan_hash. A value of false will disable the 'send mail' link.
-
-
-
diff --git a/doc/hook/bb2diaspora.bb b/doc/hook/bb2diaspora.bb
deleted file mode 100644
index c28f1883e..000000000
--- a/doc/hook/bb2diaspora.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]bb2diaspora[/h2]
diff --git a/doc/hook/bbcode.bb b/doc/hook/bbcode.bb
deleted file mode 100644
index f6b8711b0..000000000
--- a/doc/hook/bbcode.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-[h2]bbcode[/h2]
-
-
-Called at end of bbcode to html conversion.
-
-Hook argument contains the converted text string.
diff --git a/doc/hook/bbcode_filter.bb b/doc/hook/bbcode_filter.bb
deleted file mode 100644
index efeb2e1b0..000000000
--- a/doc/hook/bbcode_filter.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-[h2]bbcode_filter[/h2]
-
-
-Called at beginning of bbcode to html conversion.
-
-Hook argument contains the text string to be converted.
-
diff --git a/doc/hook/build_pagehead.bb b/doc/hook/build_pagehead.bb
deleted file mode 100644
index 8fc3486c7..000000000
--- a/doc/hook/build_pagehead.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-[b]build_pagehead[/b]
-
diff --git a/doc/hook/can_comment_on_post.bb b/doc/hook/can_comment_on_post.bb
deleted file mode 100644
index 2cfd3b2da..000000000
--- a/doc/hook/can_comment_on_post.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-[h3]can_comment_on_post[/h3]
-
-Called when deciding whether or not to display a comment box for a post.
-
-
-Hook data (array):
- observer_hash => xchan_hash of current observer
- item => posted item
- allowed => 'unset'
-
-
-To over-ride the default behaviour, change allowed to true or false
-
diff --git a/doc/hook/change_channel.bb b/doc/hook/change_channel.bb
deleted file mode 100644
index 4514b9265..000000000
--- a/doc/hook/change_channel.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h2]change_channel[/h2]
-
-Called when entering a logged in state in a channel context (as opposed to an account context).
-The hook array provides two arguments, 'channel_id' and 'chanx'. 'chanx' is a union of the channel
-and xchan records for the now active channel.
-
-Use this to capture what would traditionally be known as 'login events'. In this platform, login is
-a separate authentication activity and doesn't necessarily require "connecting to an identity", which
-is what the change_channel activity represents.
-
-
diff --git a/doc/hook/channel_links.bb b/doc/hook/channel_links.bb
deleted file mode 100644
index c0243dac6..000000000
--- a/doc/hook/channel_links.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-[h2]channel_links[/h2]
-
-Called when generating the Link HTTP header for the channel page. Different protocol stacks can add links to this header.
-
-Hook data = array
- 'channel_address' => channel nickname, no checking is done to see if it is valid
- 'channel_links' => array of channel links in the format
- 'url' => url of resource
- 'rel' => link relation
- 'type' => MIME type
-
-All fields are required \ No newline at end of file
diff --git a/doc/hook/channel_remove.bb b/doc/hook/channel_remove.bb
deleted file mode 100644
index db9e9dd82..000000000
--- a/doc/hook/channel_remove.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]channel_remove[/h2]
diff --git a/doc/hook/chat_message.bb b/doc/hook/chat_message.bb
deleted file mode 100644
index ccc93bb2c..000000000
--- a/doc/hook/chat_message.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]chat_message[/h2]
diff --git a/doc/hook/chat_post.bb b/doc/hook/chat_post.bb
deleted file mode 100644
index 7cb3c9fa1..000000000
--- a/doc/hook/chat_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]chat_post[/h2]
diff --git a/doc/hook/check_account_email.bb b/doc/hook/check_account_email.bb
deleted file mode 100644
index b309706a0..000000000
--- a/doc/hook/check_account_email.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]check_account_email[/h2]
diff --git a/doc/hook/check_account_invite.bb b/doc/hook/check_account_invite.bb
deleted file mode 100644
index 8d4a40522..000000000
--- a/doc/hook/check_account_invite.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]check_account_invite[/h2]
diff --git a/doc/hook/check_account_password.bb b/doc/hook/check_account_password.bb
deleted file mode 100644
index ce5202f48..000000000
--- a/doc/hook/check_account_password.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-[h2]check_account_password[/h2]
-Use this hook to provide additional checks or validations of the password given when
-registering and account.
-[h3]Arguments:[/h3]
-[code=php]array(
- 'password' => $password, // The password to check
- 'result' => array(
- 'error' => false,
- 'message' => ''
- )
-)[/code]
-[h3]Results:[/h3]
-For a failed check set the [code]error[/code] member of the [code]result[/code]
-array to [code]true[/code] and the [code]message[/code] to a short message
-explaining why it failed.
-
-Otherwise, leave it alone.
diff --git a/doc/hook/check_channelallowed.bb b/doc/hook/check_channelallowed.bb
deleted file mode 100644
index e7559c92f..000000000
--- a/doc/hook/check_channelallowed.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h2]check_channelallowed[/h2]
-
-Called when checking the channel (xchan) black and white lists to see if a channel is blocked.
-
-Hook data
-
- array('hash' => xchan_hash of xchan to check);
-
- create and set array element 'allowed' to true or false to override the system checks
-
-
diff --git a/doc/hook/check_siteallowed.bb b/doc/hook/check_siteallowed.bb
deleted file mode 100644
index 28134cbd2..000000000
--- a/doc/hook/check_siteallowed.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-[h2]check_siteallowed[/h2]
-
-Called when checking the site black and white lists to see if a site is blocked.
-
-Hook data
-
- array('url' => URL of site to check);
-
- create and set array element 'allowed' to true or false to override the system checks
-
diff --git a/doc/hook/collect_public_recipients.bb b/doc/hook/collect_public_recipients.bb
deleted file mode 100644
index de3f4049e..000000000
--- a/doc/hook/collect_public_recipients.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-[h2]collect_public_recipients[/h2]
-
-Replace the default list of public recipients (i.e., all contacts).
-
-Allow plugins to create a list of recipients for public messages instead of the default
-of all channel connections.
-
-Called with the following array:
- [
- 'recipients' => [],
- 'item' => $item,
- 'private_envelope' => $private_envelope,
- 'include_groups' => $include_groups
- ];
-
-[code]
- if(array_key_exists('public_policy',$item) && $item['public_policy'] !== 'self') {
-
- $hookinfo = [
- 'recipients' => [],
- 'item' => $item,
- 'private_envelope' => $private_envelope,
- 'include_groups' => $include_groups
- ];
-
- call_hooks('collect_public_recipients',$hookinfo);
-
- if ($hookinfo['recipients']) {
- $r = $hookinfo['recipients'];
- } else {
- $r = q("select abook_xchan, xchan_network from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_self = 0 and abook_pending = 0 and abook_archived = 0 ",
- intval($item['uid'])
- );
- }
-
- if($r) {
-
- . . .
-
-[/code]
-
-see: include/item.php
diff --git a/doc/hook/comments_are_now_closed.bb b/doc/hook/comments_are_now_closed.bb
deleted file mode 100644
index 4d3baa95a..000000000
--- a/doc/hook/comments_are_now_closed.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h3]comments_are_now_closed[/h3]
-
-Called when deciding whether or not commenting is closed for an item.
-
-
-Hook data (array):
- item => posted item
- closed => 'unset'
-
-
-To over-ride the default behaviour, change closed to true or false
diff --git a/doc/hook/connect_premium.bb b/doc/hook/connect_premium.bb
deleted file mode 100644
index ae3aafc66..000000000
--- a/doc/hook/connect_premium.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]connect_premium[/h2]
diff --git a/doc/hook/connection_remove.bb b/doc/hook/connection_remove.bb
deleted file mode 100644
index bd13ae5f2..000000000
--- a/doc/hook/connection_remove.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-[h3]connection_remove[/h3]
-
-Called when deleting a connection.
-
-
-Passed parameter array:
-
- 'channel_id' => channel_id of the channel removing the connection
- 'abook_id' => abook_id of the connection being removed
diff --git a/doc/hook/connector_settings.bb b/doc/hook/connector_settings.bb
deleted file mode 100644
index 9b59c49da..000000000
--- a/doc/hook/connector_settings.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]connector_settings[/h2]
diff --git a/doc/hook/construct_page.bb b/doc/hook/construct_page.bb
deleted file mode 100644
index 700d9256f..000000000
--- a/doc/hook/construct_page.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]construct_page[/h2]
diff --git a/doc/hook/contact_block_end.bb b/doc/hook/contact_block_end.bb
deleted file mode 100644
index 30a7d2d76..000000000
--- a/doc/hook/contact_block_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]contact_block_end[/h2]
diff --git a/doc/hook/contact_edit.bb b/doc/hook/contact_edit.bb
deleted file mode 100644
index 5fd31fb1d..000000000
--- a/doc/hook/contact_edit.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]contact_edit[/h2]
diff --git a/doc/hook/contact_edit_post.bb b/doc/hook/contact_edit_post.bb
deleted file mode 100644
index bc736f8b8..000000000
--- a/doc/hook/contact_edit_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]contact_edit_post[/h2]
diff --git a/doc/hook/contact_select_options.bb b/doc/hook/contact_select_options.bb
deleted file mode 100644
index 65f9154ff..000000000
--- a/doc/hook/contact_select_options.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]contact_select_options[/h2]
diff --git a/doc/hook/content_security_policy.bb b/doc/hook/content_security_policy.bb
deleted file mode 100644
index 96b8095ae..000000000
--- a/doc/hook/content_security_policy.bb
+++ /dev/null
@@ -1,39 +0,0 @@
-[h2]content_security_policy[/h2]
-
-Called to modify CSP settings prior to the output of the Content-Security-Policy header.
-
-This hook permits addons to modify the content-security-policy if necessary to allow loading of foreign js libraries or css styles.
-
-[code]
-if(App::$config['system']['content_security_policy']) {
- $cspsettings = Array (
- 'script-src' => Array ("'self'","'unsafe-inline'","'unsafe-eval'"),
- 'style-src' => Array ("'self'","'unsafe-inline'")
- );
- call_hooks('content_security_policy',$cspsettings);
-
- // Legitimate CSP directives (cxref: https://content-security-policy.com/)
- $validcspdirectives=Array(
- "default-src", "script-src", "style-src",
- "img-src", "connect-src", "font-src",
- "object-src", "media-src", 'frame-src',
- 'sandbox', 'report-uri', 'child-src',
- 'form-action', 'frame-ancestors', 'plugin-types'
- );
- $cspheader = "Content-Security-Policy:";
- foreach ($cspsettings as $cspdirective => $csp) {
- if (!in_array($cspdirective,$validcspdirectives)) {
- logger("INVALID CSP DIRECTIVE: ".$cspdirective,LOGGER_DEBUG);
- continue;
- }
- $cspsettingsarray=array_unique($cspsettings[$cspdirective]);
- $cspsetpolicy = implode(' ',$cspsettingsarray);
- if ($cspsetpolicy) {
- $cspheader .= " ".$cspdirective." ".$cspsetpolicy.";";
- }
- }
- header($cspheader);
-}
-[/code]
-
-see: boot.php
diff --git a/doc/hook/conversation_start.bb b/doc/hook/conversation_start.bb
deleted file mode 100644
index 7208c8d8f..000000000
--- a/doc/hook/conversation_start.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]conversation_start[/h2]
diff --git a/doc/hook/create_identity.bb b/doc/hook/create_identity.bb
deleted file mode 100644
index 5c1da2d43..000000000
--- a/doc/hook/create_identity.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]create_identity[/h2]
diff --git a/doc/hook/cron.bb b/doc/hook/cron.bb
deleted file mode 100644
index 55120b6c2..000000000
--- a/doc/hook/cron.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-[h2]cron[/h2]
-
-Called when cron task (include/poller.php) is executed. The hook data is a string representing the current time (UTC).
-
-
diff --git a/doc/hook/cron_daily.bb b/doc/hook/cron_daily.bb
deleted file mode 100644
index 802bea5e4..000000000
--- a/doc/hook/cron_daily.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-[h2]cron_daily[/h2]
-
-Called when cron task (include/poller.php) performs a cron_daily operation. The hook data is a string representing the current time (UTC).
diff --git a/doc/hook/cron_weekly.bb b/doc/hook/cron_weekly.bb
deleted file mode 100644
index c01bf9611..000000000
--- a/doc/hook/cron_weekly.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-[h2]cron_weekly[/h2]
-
-Called when cron task (include/poller.php) performs a cron_weekly operation. The hook data is a string representing the current time (UTC).
diff --git a/doc/hook/crypto_methods.bb b/doc/hook/crypto_methods.bb
deleted file mode 100644
index 1b16f567d..000000000
--- a/doc/hook/crypto_methods.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-[h2]crypto_mthods[/h2]
-
-Passed an array of crypto methods in local priority order.
-
-You may change the order and add new methods or disable existing methods. 'aes256cbc' is always supported as a fallback and currently removing this has no effect. \ No newline at end of file
diff --git a/doc/hook/daemon_addon.bb b/doc/hook/daemon_addon.bb
deleted file mode 100644
index b60b25748..000000000
--- a/doc/hook/daemon_addon.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-[h2]daemon_addon[/h2]
-
-
-A foreground plugin can create a background process by invoking:
-
-[code]
-\Zotlabs\Daemon\Master::Summon([ 'Addon', 'myplugin', 'something' ]);
-[/code]
-
-This starts up a background process (called 'Addon') specifically for addons to use.
-
-Then if your plugin is also catching the daemon_addon hook that handler will be called with the
-argv array of the background process. In this case [ 'myplugin', 'something' ];
-
-We recommend using this convention so that plugins can share this hook without causing conflicts; that is check to see if your plugin is the first array argument and if not, return from the hook. Otherwise you can initiate background processing. Something to remember is that during background processes there is no session. You are detached from the web page which created the background process. \ No newline at end of file
diff --git a/doc/hook/daemon_master_release.bb b/doc/hook/daemon_master_release.bb
deleted file mode 100644
index a17216d48..000000000
--- a/doc/hook/daemon_master_release.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-[h2]daemon_master_release[/h2]
-
-Permit filtering or alternate methods of processing of background processes when [code] \Zotlabs\Daemon\Master::Release() [/code] is called.
-
-Default behavior is for a new PHP process to fire immediately upon a call to Master::Summon(). This hook permits pre-emption and the ability to provide queuing or other alternatives to this procedure.
diff --git a/doc/hook/directory_item.bb b/doc/hook/directory_item.bb
deleted file mode 100644
index cb710e0b4..000000000
--- a/doc/hook/directory_item.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]directory_item[/h2]
diff --git a/doc/hook/discover_channel_webfinger.bb b/doc/hook/discover_channel_webfinger.bb
deleted file mode 100644
index b0eb5f2c4..000000000
--- a/doc/hook/discover_channel_webfinger.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-[h2]discover_channel_webfinger[/h2]
-
-Called after performing channel discovery using RFC7033 webfinger and where the channel is not recognised as zot.
-
-Passed an array:
-
- address: URL or address that is being discovered
- success: set to true if the plugin discovers something
- webfinger: array of webfinger links (output of webfinger_rfc7033())
-
-
- if your plugin indicates success you are expected to generate and populate an xchan (and hubloc) record prior to returning.
-
- \ No newline at end of file
diff --git a/doc/hook/display_item.bb b/doc/hook/display_item.bb
deleted file mode 100644
index a6bfd621d..000000000
--- a/doc/hook/display_item.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]display_item[/h2]
diff --git a/doc/hook/display_settings.bb b/doc/hook/display_settings.bb
deleted file mode 100644
index 1f1e0b491..000000000
--- a/doc/hook/display_settings.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]display_settings[/h2]
diff --git a/doc/hook/display_settings_post.bb b/doc/hook/display_settings_post.bb
deleted file mode 100644
index d3bb39359..000000000
--- a/doc/hook/display_settings_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]display_settings_post[/h2]
diff --git a/doc/hook/donate_contributors.bb b/doc/hook/donate_contributors.bb
deleted file mode 100644
index f97c77efa..000000000
--- a/doc/hook/donate_contributors.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]donate_contributors[/h2]
diff --git a/doc/hook/donate_plugin.bb b/doc/hook/donate_plugin.bb
deleted file mode 100644
index db4a6f113..000000000
--- a/doc/hook/donate_plugin.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]donate_plugin[/h2]
diff --git a/doc/hook/donate_sponsors.bb b/doc/hook/donate_sponsors.bb
deleted file mode 100644
index 3abd46d42..000000000
--- a/doc/hook/donate_sponsors.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]donate_sponsors[/h2]
diff --git a/doc/hook/dreport_is_storable.bb b/doc/hook/dreport_is_storable.bb
deleted file mode 100644
index 9ca99b896..000000000
--- a/doc/hook/dreport_is_storable.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]dreport_is_storable[/h2]
diff --git a/doc/hook/dreport_process.bb b/doc/hook/dreport_process.bb
deleted file mode 100644
index 3ad331f41..000000000
--- a/doc/hook/dreport_process.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-[h2]dreport_process[/h2]
-
-Called for each delivery report received
-
-Passed a delivery_report array.
-
-see: include/zot.php
diff --git a/doc/hook/drop_item.bb b/doc/hook/drop_item.bb
deleted file mode 100644
index 35bb80f82..000000000
--- a/doc/hook/drop_item.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]drop_item[/h2]
diff --git a/doc/hook/dropdown_extras.bb b/doc/hook/dropdown_extras.bb
deleted file mode 100644
index 6d7110a76..000000000
--- a/doc/hook/dropdown_extras.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-[h2]dropdown_extras[/h2]
-
-Modify the dropdown menu available through the cog of items as displayed by conv_item.tpl
-
-This hook allows plugins to add arbitrary html to the cog dropdown of thread items displayed with the conv_item.tpl template.
-
-It is fed an array of ['item' => $item, 'dropdown_extras' => '']. Any additions to the cog menu should be prepended/appended to
-the ['dropdown_extras'] element.
-
-[code]
-$dropdown_extras_arr = [ 'item' => $item , 'dropdown_extras' => '' ];
-call_hooks('dropdown_extras',$dropdown_extras_arr);
-$dropdown_extras = $dropdown_extras_arr['dropdown_extras'];
-[/code]
-
-see: Zotlabs/Lib/ThreadItem.php
-see: view/tpl/conv_item.tpl
diff --git a/doc/hook/encode_object.bb b/doc/hook/encode_object.bb
deleted file mode 100644
index 0c8e86458..000000000
--- a/doc/hook/encode_object.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]encode_object[/h2]
diff --git a/doc/hook/enotify.bb b/doc/hook/enotify.bb
deleted file mode 100644
index 703a3ffa0..000000000
--- a/doc/hook/enotify.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]enotify[/h2]
diff --git a/doc/hook/enotify_mail.bb b/doc/hook/enotify_mail.bb
deleted file mode 100644
index adeb8bd30..000000000
--- a/doc/hook/enotify_mail.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]enotify_mail[/h2]
diff --git a/doc/hook/enotify_store.bb b/doc/hook/enotify_store.bb
deleted file mode 100644
index dc44cc320..000000000
--- a/doc/hook/enotify_store.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]enotify_store[/h2]
diff --git a/doc/hook/event_created.bb b/doc/hook/event_created.bb
deleted file mode 100644
index 222602e77..000000000
--- a/doc/hook/event_created.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]event_created[/h2]
diff --git a/doc/hook/event_store_event.bb b/doc/hook/event_store_event.bb
deleted file mode 100644
index 7015a8322..000000000
--- a/doc/hook/event_store_event.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h2]event_store_event[/h2]
-
-Called from event_store_event() when an event record is being stored.
-
-Hook info is an array
-
-'event' => the passed event details, ready for storage
-'existing_event' => If the event already exists, a copy of the original event record from the database
-'cancel' => false - set to true to cancel the operation.
-
-
diff --git a/doc/hook/event_updated.bb b/doc/hook/event_updated.bb
deleted file mode 100644
index 69e3c72c1..000000000
--- a/doc/hook/event_updated.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]event_updated[/h2]
diff --git a/doc/hook/externals_url_select.bb b/doc/hook/externals_url_select.bb
deleted file mode 100644
index a542dcb29..000000000
--- a/doc/hook/externals_url_select.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]externals_url_select[/h2]
diff --git a/doc/hook/feature_enabled.bb b/doc/hook/feature_enabled.bb
deleted file mode 100644
index 5630cc768..000000000
--- a/doc/hook/feature_enabled.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]feature_enabled[/h2]
diff --git a/doc/hook/feature_settings.bb b/doc/hook/feature_settings.bb
deleted file mode 100644
index d1691eb38..000000000
--- a/doc/hook/feature_settings.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]feature_settings[/h2]
diff --git a/doc/hook/feature_settings_post.bb b/doc/hook/feature_settings_post.bb
deleted file mode 100644
index eecf941ff..000000000
--- a/doc/hook/feature_settings_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]feature_settings_post[/h2]
diff --git a/doc/hook/fetch_and_store.bb b/doc/hook/fetch_and_store.bb
deleted file mode 100644
index afece11a6..000000000
--- a/doc/hook/fetch_and_store.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]fetch_and_store[/h2]
diff --git a/doc/hook/follow.bb b/doc/hook/follow.bb
deleted file mode 100644
index a97632b06..000000000
--- a/doc/hook/follow.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]follow[/h2]
diff --git a/doc/hook/follow_allow.bb b/doc/hook/follow_allow.bb
deleted file mode 100644
index fdab1865c..000000000
--- a/doc/hook/follow_allow.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]follow_allow[/h2]
diff --git a/doc/hook/gender_selector.bb b/doc/hook/gender_selector.bb
deleted file mode 100644
index 0b56b5c9b..000000000
--- a/doc/hook/gender_selector.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]gender_selector[/h2]
diff --git a/doc/hook/gender_selector_min.bb b/doc/hook/gender_selector_min.bb
deleted file mode 100644
index 9d143855a..000000000
--- a/doc/hook/gender_selector_min.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]gender_selector_min[/h2]
diff --git a/doc/hook/generate_map.bb b/doc/hook/generate_map.bb
deleted file mode 100644
index 33672d552..000000000
--- a/doc/hook/generate_map.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]generate_map[/h2]
diff --git a/doc/hook/generate_named_map.bb b/doc/hook/generate_named_map.bb
deleted file mode 100644
index 5bacb846d..000000000
--- a/doc/hook/generate_named_map.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]generate_named_map[/h2]
diff --git a/doc/hook/get_all_api_perms.bb b/doc/hook/get_all_api_perms.bb
deleted file mode 100644
index eb41f8a02..000000000
--- a/doc/hook/get_all_api_perms.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]get_all_api_perms[/h2]
diff --git a/doc/hook/get_all_perms.bb b/doc/hook/get_all_perms.bb
deleted file mode 100644
index 149f8c78c..000000000
--- a/doc/hook/get_all_perms.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]get_all_perms[/h2]
diff --git a/doc/hook/get_default_export_sections b/doc/hook/get_default_export_sections
deleted file mode 100644
index 09b146643..000000000
--- a/doc/hook/get_default_export_sections
+++ /dev/null
@@ -1,10 +0,0 @@
-[h3]get_default_export_sections[/h3]
-
-The get_default_export_sections call returns the basic functional groups of data to export using channel_export_basic().
-
-The hook is passed an array
- [
- 'sections' => [ 'channel', 'connections', 'config', 'apps', 'chatrooms', 'events', 'webpages', 'mail', 'wikis' ]
- ]
-
-If you desire the export to contain three months of items, add 'items' to the 'sections' array
diff --git a/doc/hook/get_features.bb b/doc/hook/get_features.bb
deleted file mode 100644
index 66e81f13c..000000000
--- a/doc/hook/get_features.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]get_features[/h2]
diff --git a/doc/hook/get_photo.bb b/doc/hook/get_photo.bb
deleted file mode 100644
index eaf3beffb..000000000
--- a/doc/hook/get_photo.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-[h2]get_photo[/h2]
-
-Called when fetching the content of photos (except for profile photos) in mod_photo.
-
-
-Hook arguments:
-
-'imgscale' => integer resolution requested
-'resource_id' => resource_id of requested photo
-'photo' => array of matching photo table rows after querying for the photo
-'allowed' => whether or not access to this resource is allowed
-
-
-
diff --git a/doc/hook/get_profile_photo.bb b/doc/hook/get_profile_photo.bb
deleted file mode 100644
index ab07179ae..000000000
--- a/doc/hook/get_profile_photo.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-[h2]get_profile_photo[/h2]
-
-Called when fetching the content of the default profile photo for a local channel in mod_photo.
-
-
-Hook arguments:
-
-'imgscale' => integer resolution requested (4, 5, or 6)
-'channel_id' => channel_id of requested profile photo
-'default' => filename of default profile photo of this imgscale
-'data' => empty string
-'mimetype' => empty string
-
-
-If 'data' is set, this data will be used instead of the data obtained from the database search for the profile photo.
-If 'mimetype' is set, this mimetype will be used instead of the mimetype obtained from the database or the default profile photo mimetype.
-
-
diff --git a/doc/hook/get_role_perms.bb b/doc/hook/get_role_perms.bb
deleted file mode 100644
index 87830f8e3..000000000
--- a/doc/hook/get_role_perms.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]get_role_perms[/h2]
diff --git a/doc/hook/global_permissions.bb b/doc/hook/global_permissions.bb
deleted file mode 100644
index fe998ee9c..000000000
--- a/doc/hook/global_permissions.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]global_permissions[/h2]
diff --git a/doc/hook/home_content.bb b/doc/hook/home_content.bb
deleted file mode 100644
index 7f32b3547..000000000
--- a/doc/hook/home_content.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]home_content[/h2]
diff --git a/doc/hook/home_init.bb b/doc/hook/home_init.bb
deleted file mode 100644
index 25dd72792..000000000
--- a/doc/hook/home_init.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]home_init[/h2]
diff --git a/doc/hook/hostxrd.bb b/doc/hook/hostxrd.bb
deleted file mode 100644
index 2b67320cf..000000000
--- a/doc/hook/hostxrd.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]hostxrd[/h2]
diff --git a/doc/hook/html2bbcode.bb b/doc/hook/html2bbcode.bb
deleted file mode 100644
index 3061f05f0..000000000
--- a/doc/hook/html2bbcode.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]html2bbcode[/h2]
diff --git a/doc/hook/identity_basic_export.bb b/doc/hook/identity_basic_export.bb
deleted file mode 100644
index 71329ba1e..000000000
--- a/doc/hook/identity_basic_export.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-[h2]identity_basic_export[/h2]
-
-Called when exporting data for a channel
-Passed array contains
-
- [
- 'channel_id' => channel_id being exported
- 'sections' => array of functional export sections which are being exported
- 'data' => the export data array which has been generated
- ]
diff --git a/doc/hook/import_author_xchan.bb b/doc/hook/import_author_xchan.bb
deleted file mode 100644
index e2340469d..000000000
--- a/doc/hook/import_author_xchan.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]import_author_xchan[/h2]
diff --git a/doc/hook/import_channel.bb b/doc/hook/import_channel.bb
deleted file mode 100644
index b220b7415..000000000
--- a/doc/hook/import_channel.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]import_channel[/h2]
diff --git a/doc/hook/import_directory_profile.bb b/doc/hook/import_directory_profile.bb
deleted file mode 100644
index e2fac59bc..000000000
--- a/doc/hook/import_directory_profile.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]import_directory_profile[/h2]
diff --git a/doc/hook/import_xchan.bb b/doc/hook/import_xchan.bb
deleted file mode 100644
index 40e0783ce..000000000
--- a/doc/hook/import_xchan.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]import_xchan[/h2]
diff --git a/doc/hook/item_custom.bb b/doc/hook/item_custom.bb
deleted file mode 100644
index d20c7d76c..000000000
--- a/doc/hook/item_custom.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-[h2]item_custom[/h2]
-
-Allow addons to create and process custom item types.
-
-Addon authors will need to use iconfig meta data (with sharing on) or some other method
-to specify and determine whether the custom item is destined for their addon.
-
-It is fed an array of ['item' => ${item_array}, 'allow_exec' => {true/false}]
-
-By default $arr['item']['cancel'] is set to TRUE which will abort storage of the
-custom item in the item table unless the addon unsets it or sets it to false.
-
-[code]
- if ($arr['item_type']==ITEM_TYPE_CUSTOM) {
- /* Custom items are not stored by default
- because they require an addon to process. */
- $d['item']['cancel']=true;
-
- call_hooks('item_custom',$d);
- }
-
-[/code]
-
-see: include/items.php
diff --git a/doc/hook/item_photo_menu.bb b/doc/hook/item_photo_menu.bb
deleted file mode 100644
index 8f9860a90..000000000
--- a/doc/hook/item_photo_menu.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]item_photo_menu[/h2]
diff --git a/doc/hook/item_store.bb b/doc/hook/item_store.bb
deleted file mode 100644
index 5d49b725c..000000000
--- a/doc/hook/item_store.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]item_store[/h2]
diff --git a/doc/hook/item_store_update.bb b/doc/hook/item_store_update.bb
deleted file mode 100644
index a7c58939a..000000000
--- a/doc/hook/item_store_update.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]item_store_update[/h2]
diff --git a/doc/hook/item_stored.bb b/doc/hook/item_stored.bb
deleted file mode 100644
index 8d706cb4e..000000000
--- a/doc/hook/item_stored.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-[h2]item_stored[/h2]
-
-Allow addons to continue processing after an item has been stored in the event
-that they need access to the item_id or other data that gets assigned during
-the storage process.
-
-It is fed an array of type item (including terms and iconfig data).
-
-[code]
- /**
- * @hooks item_stored
- * Called after new item is stored in the database.
- * (By this time we have an item_id and other frequently needed info.)
- */
- call_hooks('item_stored',$arr);
-[/code]
-
-see: include/items.php
diff --git a/doc/hook/item_stored_update.bb b/doc/hook/item_stored_update.bb
deleted file mode 100644
index 4532a347c..000000000
--- a/doc/hook/item_stored_update.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-[h2]item_stored_update[/h2]
-
-Allow addons to continue processing after an item update has been stored
-
-It is fed an array of type item (including terms and iconfig data).
-
-[code]
- /**
- * @hooks item_stored_update
- * Called after updated item is stored in the database.
- */
- call_hooks('item_stored_update',$arr);
-[/code]
-
-see: include/items.php
diff --git a/doc/hook/item_translate.bb b/doc/hook/item_translate.bb
deleted file mode 100644
index 695494b9c..000000000
--- a/doc/hook/item_translate.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]item_translate[/h2]
diff --git a/doc/hook/jot_header_tpl_filter.bb b/doc/hook/jot_header_tpl_filter.bb
deleted file mode 100644
index b17d81d03..000000000
--- a/doc/hook/jot_header_tpl_filter.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-[h2]jot_header_tpl_filter[/h2]
-
-Allows addon developers to modify the values of replacements fed into jot-header.tpl
-
-cxref: include/conversation.php
diff --git a/doc/hook/jot_networks.bb b/doc/hook/jot_networks.bb
deleted file mode 100644
index 4c1629ba7..000000000
--- a/doc/hook/jot_networks.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]jot_networks[/h2]
diff --git a/doc/hook/jot_tool.bb b/doc/hook/jot_tool.bb
deleted file mode 100644
index 22ba9701e..000000000
--- a/doc/hook/jot_tool.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]jot_tool[/h2]
diff --git a/doc/hook/jot_tpl_filter.bb b/doc/hook/jot_tpl_filter.bb
deleted file mode 100644
index 426da3c56..000000000
--- a/doc/hook/jot_tpl_filter.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-[h2]jot_tpl_filter[/h2]
-
-Allows addon developers to alter the macro replacements prior to being fed into jot.tpl
-
-cxref: include/conversation.php
diff --git a/doc/hook/legal_webbie.bb b/doc/hook/legal_webbie.bb
deleted file mode 100644
index 8c7d32d56..000000000
--- a/doc/hook/legal_webbie.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-[h2]legal_webbie[/h2]
-
-Called when validating a channel address. By default the valid characters are
-a-z,0-9,-,_, and . Uppercase ASCII characters are folded to lower and any invalid characters are stripped.
-
-Some federated networks require more restrictive rules.
-
-The hook is called with an array [ 'input' => (supplied text), 'output' => (validated text) ]
-
-A plugin will generally perform a regex filter or text operation on 'input' and provide the results in 'output'. \ No newline at end of file
diff --git a/doc/hook/legal_webbie_text.bb b/doc/hook/legal_webbie_text.bb
deleted file mode 100644
index 32c74c93b..000000000
--- a/doc/hook/legal_webbie_text.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-[h2]legal_webbie_text[/h2]
-
-Returns a string describing the text rules applied to legal_webbie().
-
-Called with an array [ 'text' => (descriptive text describing text character limitations) ]
-
-A plugin should return the description of the allowed characters and operation performed in the 'legal_webbie' hook to assist people when creating a new channel. \ No newline at end of file
diff --git a/doc/hook/load_pdl.bb b/doc/hook/load_pdl.bb
deleted file mode 100644
index 149a3e766..000000000
--- a/doc/hook/load_pdl.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]load_pdl[/h2]
diff --git a/doc/hook/local_dir_update.bb b/doc/hook/local_dir_update.bb
deleted file mode 100644
index d0b0f8ac1..000000000
--- a/doc/hook/local_dir_update.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]local_dir_update[/h2]
diff --git a/doc/hook/logged_in.bb b/doc/hook/logged_in.bb
deleted file mode 100644
index b01041576..000000000
--- a/doc/hook/logged_in.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]logged_in[/h2]
diff --git a/doc/hook/logger.bb b/doc/hook/logger.bb
deleted file mode 100644
index 8fe989abd..000000000
--- a/doc/hook/logger.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-[h2]logger[/h2]
-
-Called when making an entry to the application logfile
-
-Hook data:
-
- array(
- 'filename' => name of logfile relative to application basedir. String.
- 'loglevel' => the log level of this log entry, if this is higher than the configured maximum loglevel
- this hook will not be called. Integer.
- 'message' => The formatted log message, ready for logging. String.
- 'logged' => boolean, default is false. Set to true to prevent the normal logfile entry to be made
- (e.g. if the plugin is configured to handle this aspect of the function, or if it is determined
- that this log entry should not be made)
- )
-
diff --git a/doc/hook/logging_out.bb b/doc/hook/logging_out.bb
deleted file mode 100644
index d47b9f1df..000000000
--- a/doc/hook/logging_out.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]logging_out[/h2]
diff --git a/doc/hook/login_hook.bb b/doc/hook/login_hook.bb
deleted file mode 100644
index 156a0afcd..000000000
--- a/doc/hook/login_hook.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]login_hook[/h2]
diff --git a/doc/hook/magic_auth.bb b/doc/hook/magic_auth.bb
deleted file mode 100644
index 80d6edb27..000000000
--- a/doc/hook/magic_auth.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]magic_auth[/h2]
diff --git a/doc/hook/magic_auth_openid_success.bb b/doc/hook/magic_auth_openid_success.bb
deleted file mode 100644
index 810f2e06d..000000000
--- a/doc/hook/magic_auth_openid_success.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]magic_auth_openid_success[/h2]
diff --git a/doc/hook/magic_auth_success.bb b/doc/hook/magic_auth_success.bb
deleted file mode 100644
index d795e43e5..000000000
--- a/doc/hook/magic_auth_success.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]magic_auth_success[/h2]
diff --git a/doc/hook/main_slider.bb b/doc/hook/main_slider.bb
deleted file mode 100644
index a63c2170a..000000000
--- a/doc/hook/main_slider.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]main_slider[/h2]
diff --git a/doc/hook/marital_selector.bb b/doc/hook/marital_selector.bb
deleted file mode 100644
index 0f76c3f5a..000000000
--- a/doc/hook/marital_selector.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]marital_selector[/h2]
diff --git a/doc/hook/marital_selector_min.bb b/doc/hook/marital_selector_min.bb
deleted file mode 100644
index f02d21f20..000000000
--- a/doc/hook/marital_selector_min.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]marital_selector_min[/h2]
diff --git a/doc/hook/markdown_to_bb.bb b/doc/hook/markdown_to_bb.bb
deleted file mode 100644
index 8af637c8c..000000000
--- a/doc/hook/markdown_to_bb.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-[h2]markdown_to_bb[/h2]
-
-Called when processing markdown to bbcode conversion such as when importing Diaspora protocol source or other markdown sources. The plugin is called post conversion.
-
-The function takes one argument which is the string being converted. It may be additionally processed by the plugin.
diff --git a/doc/hook/module_loaded.bb b/doc/hook/module_loaded.bb
deleted file mode 100644
index cb0d2302d..000000000
--- a/doc/hook/module_loaded.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]module_loaded[/h2]
diff --git a/doc/hook/module_mod_aftercontent.bb b/doc/hook/module_mod_aftercontent.bb
deleted file mode 100644
index 04e3c8d88..000000000
--- a/doc/hook/module_mod_aftercontent.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-[h2]module_mod_aftercontent[/h2]
-
-
-
-The hook data for this call consists of an array
-
- $arr['content']
-
-This element contains the HTML content which was prepared for this page by calling the module_content() function. It is invoked after the content has been created. It does not contain the result of AJAX or asynchronous page load calls.
-
- The current module may be determined by lookin at App::$module
-
diff --git a/doc/hook/module_mod_content.bb b/doc/hook/module_mod_content.bb
deleted file mode 100644
index eef5b7ba5..000000000
--- a/doc/hook/module_mod_content.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-[h2]module_mod_content[/h2]
-
-The hook data for this call consists of an array
-
- $arr['content']
-
-This element contains the HTML content before calling the module_content() function. It is invoked before the content region has been populated. This may or may not be empty as there may be other processes or addons generating content prior to your hook handler is run. Be certain to preserve any current content. Typically anything you add here will be placed at the top of the content region of the page, but in any event prior to the main content region being generated.
-
- The current module may be determined by lookin at App::$module
-
diff --git a/doc/hook/module_mod_init.bb b/doc/hook/module_mod_init.bb
deleted file mode 100644
index 52fe5a616..000000000
--- a/doc/hook/module_mod_init.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]module_mod_init[/h2]
diff --git a/doc/hook/module_mod_post.bb b/doc/hook/module_mod_post.bb
deleted file mode 100644
index 3adb0e737..000000000
--- a/doc/hook/module_mod_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]module_mod_post[/h2]
diff --git a/doc/hook/mood_verbs.bb b/doc/hook/mood_verbs.bb
deleted file mode 100644
index 67fb719dd..000000000
--- a/doc/hook/mood_verbs.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]mood_verbs[/h2]
diff --git a/doc/hook/nav.bb b/doc/hook/nav.bb
deleted file mode 100644
index b52f90602..000000000
--- a/doc/hook/nav.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-[h2]nav[/h2]
-
-Called when generating the main navigation bar and menu for a page
-
-Hook data:
-
- array(
- 'usermenu' => array( 'icon' => photo URL, 'name' => channel name )
- 'nav' => array(
- 'usermenu' => usermenu (photo menu) link array
- (channel home, profiles, photos, cloud, chats, webapges ...)
- 'loginmenu' => login menu link array
- 'network' => grid link and grid-notify
- 'home' => home link and home-notify
- 'intros' => intros link and intros-notify
- 'notifications' => notifications link and notifications-notify
- 'messages' => PM link and PM-notify
- 'all_events' => events link and events notfiy
- 'manage' => manage channels link
- 'settings' => settings link
- 'register' => registration link
- 'help' => help/doc link
- 'apps' => apps link
- 'search' => search link and form
- 'directory' => directory link
- )
-
-
diff --git a/doc/hook/network_content_init.bb b/doc/hook/network_content_init.bb
deleted file mode 100644
index 224da393a..000000000
--- a/doc/hook/network_content_init.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]network_content_init[/h2]
diff --git a/doc/hook/network_ping.bb b/doc/hook/network_ping.bb
deleted file mode 100644
index 78deefe78..000000000
--- a/doc/hook/network_ping.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]network_ping[/h2]
diff --git a/doc/hook/network_to_name.bb b/doc/hook/network_to_name.bb
deleted file mode 100644
index eea4a1841..000000000
--- a/doc/hook/network_to_name.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]network_to_name[/h2]
diff --git a/doc/hook/notifier_end.bb b/doc/hook/notifier_end.bb
deleted file mode 100644
index df9d852bd..000000000
--- a/doc/hook/notifier_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]notifier_end[/h2]
diff --git a/doc/hook/notifier_hub.bb b/doc/hook/notifier_hub.bb
deleted file mode 100644
index 4255ce446..000000000
--- a/doc/hook/notifier_hub.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]notifier_hub[/h2]
diff --git a/doc/hook/notifier_normal.bb b/doc/hook/notifier_normal.bb
deleted file mode 100644
index 0059baa47..000000000
--- a/doc/hook/notifier_normal.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]notifier_normal[/h2]
diff --git a/doc/hook/obj_verbs.bb b/doc/hook/obj_verbs.bb
deleted file mode 100644
index ca98229aa..000000000
--- a/doc/hook/obj_verbs.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]obj_verbs[/h2]
diff --git a/doc/hook/oembed_probe.bb b/doc/hook/oembed_probe.bb
deleted file mode 100644
index 4f32ac267..000000000
--- a/doc/hook/oembed_probe.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]oembed_probe[/h2]
diff --git a/doc/hook/other_encapsulate.bb b/doc/hook/other_encapsulate.bb
deleted file mode 100644
index ea0cdf622..000000000
--- a/doc/hook/other_encapsulate.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-[h2]other_encapsulate[/h2]
-
-Passed an array of 'data', 'pubkey', 'alg', 'result' when encrypting data with an algorithm (alg) which is unknown to the system. Hooks are expected to identify their algorithm, encrypt data with pubkey and place the result in 'result'.
-
-
-
-
diff --git a/doc/hook/other_unencapsulate.bb b/doc/hook/other_unencapsulate.bb
deleted file mode 100644
index c8b0b617f..000000000
--- a/doc/hook/other_unencapsulate.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-[h2]other_unencapsulate[/h2]
-
-Passed an array of 'data', 'prvkey', 'alg', 'result' when decrypting data with an algorithm (alg) which is unknown to the system. Hooks are expected to identify their algorithm, decrypt data with prvkey and place the result in 'result'.
-
-
diff --git a/doc/hook/page_content_top.bb b/doc/hook/page_content_top.bb
deleted file mode 100644
index 137e3abfd..000000000
--- a/doc/hook/page_content_top.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]page_content_top[/h2]
diff --git a/doc/hook/page_end.bb b/doc/hook/page_end.bb
deleted file mode 100644
index 09293cf50..000000000
--- a/doc/hook/page_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]page_end[/h2]
diff --git a/doc/hook/page_header.bb b/doc/hook/page_header.bb
deleted file mode 100644
index ffaa791c9..000000000
--- a/doc/hook/page_header.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]page_header[/h2]
diff --git a/doc/hook/page_meta.bb b/doc/hook/page_meta.bb
deleted file mode 100644
index 30a8f9440..000000000
--- a/doc/hook/page_meta.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-[h2]page_meta[/h2]
-
-Called before generating the page header.
-
-[code]
- $pagemeta = [ 'og:title' => self::$page['title'] ];
-
- call_hooks('page_meta',$pagemeta);
- foreach ($pagemeta as $metaproperty => $metavalue) {
- self::$meta->set($metaproperty,$metavalue);
- }
-
-[/code]
diff --git a/doc/hook/parse_atom.bb b/doc/hook/parse_atom.bb
deleted file mode 100644
index c8037317f..000000000
--- a/doc/hook/parse_atom.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]parse_atom[/h2]
diff --git a/doc/hook/parse_link.bb b/doc/hook/parse_link.bb
deleted file mode 100644
index 1c328059c..000000000
--- a/doc/hook/parse_link.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]parse_link[/h2]
diff --git a/doc/hook/pdl_selector.bb b/doc/hook/pdl_selector.bb
deleted file mode 100644
index bee01c843..000000000
--- a/doc/hook/pdl_selector.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]pdl_selector[/h2]
diff --git a/doc/hook/perm_is_allowed.bb b/doc/hook/perm_is_allowed.bb
deleted file mode 100644
index aac647609..000000000
--- a/doc/hook/perm_is_allowed.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]perm_is_allowed[/h2]
diff --git a/doc/hook/permissions_create.bb b/doc/hook/permissions_create.bb
deleted file mode 100644
index 22f80a80e..000000000
--- a/doc/hook/permissions_create.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]permissions_create[/h2]
diff --git a/doc/hook/permissions_update.bb b/doc/hook/permissions_update.bb
deleted file mode 100644
index 40366b33d..000000000
--- a/doc/hook/permissions_update.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]permissions_update[/h2]
diff --git a/doc/hook/permit_hook.bb b/doc/hook/permit_hook.bb
deleted file mode 100644
index e69de29bb..000000000
--- a/doc/hook/permit_hook.bb
+++ /dev/null
diff --git a/doc/hook/personal_xrd.bb b/doc/hook/personal_xrd.bb
deleted file mode 100644
index 71d4bd8dd..000000000
--- a/doc/hook/personal_xrd.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]personal_xrd[/h2]
diff --git a/doc/hook/photo_post_end.bb b/doc/hook/photo_post_end.bb
deleted file mode 100644
index 8a3291763..000000000
--- a/doc/hook/photo_post_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]photo_post_end[/h2]
diff --git a/doc/hook/photo_upload_begin.bb b/doc/hook/photo_upload_begin.bb
deleted file mode 100644
index 5e441a12a..000000000
--- a/doc/hook/photo_upload_begin.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]photo_upload_begin[/h2]
diff --git a/doc/hook/photo_upload_end.bb b/doc/hook/photo_upload_end.bb
deleted file mode 100644
index 956175f1d..000000000
--- a/doc/hook/photo_upload_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]photo_upload_end[/h2]
diff --git a/doc/hook/photo_upload_file.bb b/doc/hook/photo_upload_file.bb
deleted file mode 100644
index 726622ac0..000000000
--- a/doc/hook/photo_upload_file.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]photo_upload_file[/h2]
diff --git a/doc/hook/photo_upload_form.bb b/doc/hook/photo_upload_form.bb
deleted file mode 100644
index 70b8318b8..000000000
--- a/doc/hook/photo_upload_form.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]photo_upload_form[/h2]
diff --git a/doc/hook/photo_view_filter.bb b/doc/hook/photo_view_filter.bb
deleted file mode 100644
index 0780c1edc..000000000
--- a/doc/hook/photo_view_filter.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]photo_view_filter[/h2]
diff --git a/doc/hook/poke_verbs.bb b/doc/hook/poke_verbs.bb
deleted file mode 100644
index 54d68c3a2..000000000
--- a/doc/hook/poke_verbs.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]poke_verbs[/h2]
diff --git a/doc/hook/post_local.bb b/doc/hook/post_local.bb
deleted file mode 100644
index 5aa723cb9..000000000
--- a/doc/hook/post_local.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_local[/h2]
diff --git a/doc/hook/post_local_end.bb b/doc/hook/post_local_end.bb
deleted file mode 100644
index 380166fdb..000000000
--- a/doc/hook/post_local_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_local_end[/h2]
diff --git a/doc/hook/post_local_start.bb b/doc/hook/post_local_start.bb
deleted file mode 100644
index 2f684f67a..000000000
--- a/doc/hook/post_local_start.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_local_start[/h2]
diff --git a/doc/hook/post_mail.bb b/doc/hook/post_mail.bb
deleted file mode 100644
index 8f67ad4f0..000000000
--- a/doc/hook/post_mail.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_mail[/h2]
diff --git a/doc/hook/post_mail_end.bb b/doc/hook/post_mail_end.bb
deleted file mode 100644
index 7f0085773..000000000
--- a/doc/hook/post_mail_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_mail_end[/h2]
diff --git a/doc/hook/post_remote.bb b/doc/hook/post_remote.bb
deleted file mode 100644
index f8e087eee..000000000
--- a/doc/hook/post_remote.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_remote[/h2]
diff --git a/doc/hook/post_remote_end.bb b/doc/hook/post_remote_end.bb
deleted file mode 100644
index 0fef20cbf..000000000
--- a/doc/hook/post_remote_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_remote_end[/h2]
diff --git a/doc/hook/post_remote_update.bb b/doc/hook/post_remote_update.bb
deleted file mode 100644
index fd358db28..000000000
--- a/doc/hook/post_remote_update.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_remote_update[/h2]
diff --git a/doc/hook/post_remote_update_end.bb b/doc/hook/post_remote_update_end.bb
deleted file mode 100644
index 95f1e6f78..000000000
--- a/doc/hook/post_remote_update_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]post_remote_update_end[/h2]
diff --git a/doc/hook/prepare_body.bb b/doc/hook/prepare_body.bb
deleted file mode 100644
index 3f1eaef85..000000000
--- a/doc/hook/prepare_body.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]prepare_body[/h2]
diff --git a/doc/hook/prepare_body_final.bb b/doc/hook/prepare_body_final.bb
deleted file mode 100644
index 96d1ae389..000000000
--- a/doc/hook/prepare_body_final.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]prepare_body_final[/h2]
diff --git a/doc/hook/prepare_body_init.bb b/doc/hook/prepare_body_init.bb
deleted file mode 100644
index f3de79970..000000000
--- a/doc/hook/prepare_body_init.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]prepare_body_init[/h2]
diff --git a/doc/hook/privacygroup_extras.bb b/doc/hook/privacygroup_extras.bb
deleted file mode 100644
index bd67f2470..000000000
--- a/doc/hook/privacygroup_extras.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-[h2]privacygroup_extras[/h2]
-
-Add items to the Privacy Group edit form
-
-[code]
- $hookinfo = [ 'pgrp_extras' => '', 'group'=>$argv(1) ];
- call_hooks ('privacygroup_extras',$hookinfo);
- $pgrp_extras = $hookinfo['pgrp_extras'];
-[/code]
-
-see: Zotlabs/Module/Group.php
-see: view/tpl/privacy_groups.tpl
diff --git a/doc/hook/privacygroup_extras_drop.bb b/doc/hook/privacygroup_extras_drop.bb
deleted file mode 100644
index fd27ab255..000000000
--- a/doc/hook/privacygroup_extras_drop.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h2]privacygroup_extras_drop[/h2]
-
-Called after privacy group is dropped
-
-[code]
- $hookinfo = [ 'pgrp_extras' => '', 'group'=>$argv(2) ];
- call_hooks ('privacygroup_extras_drop',$hookinfo);
-[/code]
-
-see: Zotlabs/Module/Group.php
-see: view/tpl/privacy_groups.tpl
diff --git a/doc/hook/privacygroup_extras_post.bb b/doc/hook/privacygroup_extras_post.bb
deleted file mode 100644
index 704db1997..000000000
--- a/doc/hook/privacygroup_extras_post.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h2]privacygroup_extras_post[/h2]
-
-Called as privacy group edit form is edited.
-
-[code]
- $hookinfo = [ 'pgrp_extras' => '', 'group'=>$group['id'] ];
- call_hooks ('privacygroup_extras_post',$hookinfo);
-[/code]
-
-see: Zotlabs/Module/Group.php
-see: view/tpl/privacy_groups.tpl
diff --git a/doc/hook/proc_run.bb b/doc/hook/proc_run.bb
deleted file mode 100644
index a3759794a..000000000
--- a/doc/hook/proc_run.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]proc_run[/h2]
diff --git a/doc/hook/process_channel_sync_delivery.bb b/doc/hook/process_channel_sync_delivery.bb
deleted file mode 100644
index c0416c8cb..000000000
--- a/doc/hook/process_channel_sync_delivery.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]process_channel_sync_delivery[/h2]
diff --git a/doc/hook/profile_advanced.bb b/doc/hook/profile_advanced.bb
deleted file mode 100644
index 65e56afd6..000000000
--- a/doc/hook/profile_advanced.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]profile_advanced[/h2]
diff --git a/doc/hook/profile_edit.bb b/doc/hook/profile_edit.bb
deleted file mode 100644
index e60663d4a..000000000
--- a/doc/hook/profile_edit.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]profile_edit[/h2]
diff --git a/doc/hook/profile_photo_content_end.bb b/doc/hook/profile_photo_content_end.bb
deleted file mode 100644
index 518415c4d..000000000
--- a/doc/hook/profile_photo_content_end.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]profile_photo_content_end[/h2]
diff --git a/doc/hook/profile_post.bb b/doc/hook/profile_post.bb
deleted file mode 100644
index d22d8fbc7..000000000
--- a/doc/hook/profile_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]profile_post[/h2]
diff --git a/doc/hook/profile_sidebar.bb b/doc/hook/profile_sidebar.bb
deleted file mode 100644
index bfd059e4b..000000000
--- a/doc/hook/profile_sidebar.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]profile_sidebar[/h2]
diff --git a/doc/hook/profile_sidebar_enter.bb b/doc/hook/profile_sidebar_enter.bb
deleted file mode 100644
index 9d6726a30..000000000
--- a/doc/hook/profile_sidebar_enter.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]profile_sidebar_enter[/h2]
diff --git a/doc/hook/register_account.bb b/doc/hook/register_account.bb
deleted file mode 100644
index df4de2b30..000000000
--- a/doc/hook/register_account.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]register_account[/h2]
diff --git a/doc/hook/render_location.bb b/doc/hook/render_location.bb
deleted file mode 100644
index 41501c087..000000000
--- a/doc/hook/render_location.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]render_location[/h2]
diff --git a/doc/hook/replace_macros.bb b/doc/hook/replace_macros.bb
deleted file mode 100644
index fac39dd7b..000000000
--- a/doc/hook/replace_macros.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]replace_macros[/h2]
diff --git a/doc/hook/reverse_magic_auth.bb b/doc/hook/reverse_magic_auth.bb
deleted file mode 100644
index 4cbd84b93..000000000
--- a/doc/hook/reverse_magic_auth.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]reverse_magic_auth[/h2]
diff --git a/doc/hook/settings_form.bb b/doc/hook/settings_form.bb
deleted file mode 100644
index d65341181..000000000
--- a/doc/hook/settings_form.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]settings_form[/h2]
diff --git a/doc/hook/settings_post.bb b/doc/hook/settings_post.bb
deleted file mode 100644
index f72546c11..000000000
--- a/doc/hook/settings_post.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]settings_post[/h2]
diff --git a/doc/hook/sexpref_selector.bb b/doc/hook/sexpref_selector.bb
deleted file mode 100644
index b4dad6b38..000000000
--- a/doc/hook/sexpref_selector.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]sexpref_selector[/h2]
diff --git a/doc/hook/sexpref_selector_min.bb b/doc/hook/sexpref_selector_min.bb
deleted file mode 100644
index 6f49946af..000000000
--- a/doc/hook/sexpref_selector_min.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]sexpref_selector_min[/h2]
diff --git a/doc/hook/smilie.bb b/doc/hook/smilie.bb
deleted file mode 100644
index 575acc178..000000000
--- a/doc/hook/smilie.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-[h2]smilie[/h2]
-
-
-Called when processing translation of emoticons. It is passed an array containing two sub-arrays:
-
- array(
- 'texts' => array('text1','text2',...),
- 'icons' => array('icon1','icon2',...)
- );
-
- texts is the emoticon text - for example ':-)' for a traditional smile face.
- icons is the HTML used as a replacement. For example
- '&lt;img class="smiley" src="https://localhost/images/smiley-smile.gif" alt=":-)" /&gt;'
-
- If adding or removing an entry from either array, the corresponding element from the matching array must also
- be added or removed. Emoticons less than three characters in length or not recommended as they get triggered
- incorrectly quite often. Extended emoticons are indicated by convention using a preceding colon, for example
-
- :walrus_kissing_a_baby \ No newline at end of file
diff --git a/doc/hook/status_editor.bb b/doc/hook/status_editor.bb
deleted file mode 100644
index 00e97a7c9..000000000
--- a/doc/hook/status_editor.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-[h2]status_editor[/h2]
-
-Replace the default status_editor (jot).
-
-Allow plugins to replace the default status editor in a context dependent manner.
-
-It is fed an array of ['editor_html' => '', 'x' => $x, 'popup' => $popup, 'module' => $module].
-
-All calls to the status_editor at the time of the creation of this hook have been updated
-to set $module at invocation. This allows addon developers to have a context dependent editor
-based on the Hubzilla module/addon.
-
-Calls to status_editor() are in the form of:
- status_editor($a, $x, $popup, $module).
-
-Future module/addon developers are encouraged to set $popup and $module when invoking the
-status_editor.
-
-
-[code]
- $hook_info = ['editor_html' => '', 'x' => $x, 'popup' => $popup, 'module' => $module];
- call_hooks('status_editor',$hook_info);
- if ($hook_info['editor_html'] == '') {
- return hz_status_editor($a, $x, $popup);
- } else {
- return $hook_info['editor_html'];
- }
-
-[/code]
-
-see: include/conversation.php
diff --git a/doc/hook/stream_item.bb b/doc/hook/stream_item.bb
deleted file mode 100644
index 30086961d..000000000
--- a/doc/hook/stream_item.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-[h2]stream_item[/h2]
-
-
-Called for each item processed for viewing by conversation();
-
-The hook data consists of an array
-
- array(
- 'mode' => current mode of conversation()
- 'item' => item being processed
- );
-
- Set item['blocked'] to block the item from viewing. This action will not affect comment or sub-thread counts, so if there are three comments in a conversation and you block one, three comments will still be reported even though only two are visible.
diff --git a/doc/hook/system_app_installed_filter.bb b/doc/hook/system_app_installed_filter.bb
deleted file mode 100644
index a269a79a8..000000000
--- a/doc/hook/system_app_installed_filter.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-[h2]system_app_installed_filter[/h2]
-
-Allow plugins to filter the result of system_app_installed.
-
-Code excerpt:
-
-[code]
- $filter_arr = [
- 'uid'=>$uid,
- 'app'=>$app,
- 'installed'=>$r
- ];
- call_hooks('system_app_installed_filter',$filter_arr);
- $r = $filter_arr['installed'];
-[/code]
-
-cxref: Zotlabs/Lib/Apps.php
-
diff --git a/doc/hook/tagged.bb b/doc/hook/tagged.bb
deleted file mode 100644
index 05d081d07..000000000
--- a/doc/hook/tagged.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-[h2]tagged[/h2]
-
-
-This hook is called when a delivery is made which results in the recipient being tagged.
-
-The hook data is an array containing
-
- array(
- 'channel_id' => int,
- 'item' => item structure of the delivered item from database,
- 'body' => the body of the referenced item
-
- );
-
- Note: This hook is called before secondary delivery chains are invoked in the case of tagging a forum. This means that permissions and some item attributes will be those of the item before being re-packaged and before ownership of this item is given to the forum.
-
diff --git a/doc/hook/update_unseen.bb b/doc/hook/update_unseen.bb
deleted file mode 100644
index 8fb02c239..000000000
--- a/doc/hook/update_unseen.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-[h3]update_unseen[/h3]
-
-Called prior to automatically marking items 'seen'; allowing a plugin the choice to not perform this action.
-
-hook data
-
-[ 'channel_id' => local_channel(), 'update' => 'unset' ];
-
-If 'update' is set to 0 or false on return, the update operation is not performed. \ No newline at end of file
diff --git a/doc/hook/validate_channelname.bb b/doc/hook/validate_channelname.bb
deleted file mode 100644
index 2ab12bbec..000000000
--- a/doc/hook/validate_channelname.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-[h2]validate_channelname[/h2]
-
-Called when creating a new channel or changing the channel name in mod/settings.php
-
-Hook data consists of an array
-
- array(
- 'name' => supplied name
- );
-
- If the hook handler determines the name is valid, do nothing. If there is an issue with the name,
- set $hook_data['message'] to the message text which should be displayed to the member - and the name will
- not be accepted.
-
-
- Example:
- [code]
- if(mb_strlen($hook_data['name']) < 3)
- $hook_data['message'] = t('Name too short.');
- [/code]
-
-
- \ No newline at end of file
diff --git a/doc/hook/webfinger.bb b/doc/hook/webfinger.bb
deleted file mode 100644
index 7cc24322f..000000000
--- a/doc/hook/webfinger.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]webfinger[/h2]
diff --git a/doc/hook/well_known.bb b/doc/hook/well_known.bb
deleted file mode 100644
index 778b27a02..000000000
--- a/doc/hook/well_known.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]well_known[/h2]
diff --git a/doc/hook/wiki_preprocess.bb b/doc/hook/wiki_preprocess.bb
deleted file mode 100644
index 913b601ba..000000000
--- a/doc/hook/wiki_preprocess.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-[h3]wiki_preprocess[/h3]
-
-Called before markdown/bbcode processors are run for wiki pages
-
-Passed parameter array:
-
- 'content' => wiki page content
- 'mimetype' => page mimetype
-
-
-see: Zotlabs/Module/Wiki.php
diff --git a/doc/hook/zid.bb b/doc/hook/zid.bb
deleted file mode 100644
index 2210c1342..000000000
--- a/doc/hook/zid.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]zid[/h2]
diff --git a/doc/hook/zid_init.bb b/doc/hook/zid_init.bb
deleted file mode 100644
index 131dd8f72..000000000
--- a/doc/hook/zid_init.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]zid_init[/h2]
diff --git a/doc/hook/zot_best_algorithm.bb b/doc/hook/zot_best_algorithm.bb
deleted file mode 100644
index ccde505cb..000000000
--- a/doc/hook/zot_best_algorithm.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-[h2]zot_best_algorithm[/h2]
-
-
diff --git a/doc/hook/zot_finger.bb b/doc/hook/zot_finger.bb
deleted file mode 100644
index 9383b4c31..000000000
--- a/doc/hook/zot_finger.bb
+++ /dev/null
@@ -1 +0,0 @@
-[h2]zot_finger[/h2]