aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/check_siteallowed.bb
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-06 20:45:21 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-06 20:45:21 -0800
commitf7f0d2b265b764e1a7bb032473108ca2cfaeb4a5 (patch)
treeebedb98cfdc4c8bd5d8dffe9953280c338558db7 /doc/hook/check_siteallowed.bb
parent2d799f2c114bbd540a6b2f260e512ad5fcf1db5c (diff)
downloadvolse-hubzilla-f7f0d2b265b764e1a7bb032473108ca2cfaeb4a5.tar.gz
volse-hubzilla-f7f0d2b265b764e1a7bb032473108ca2cfaeb4a5.tar.bz2
volse-hubzilla-f7f0d2b265b764e1a7bb032473108ca2cfaeb4a5.zip
provide plugin hooks for blacklist checking functions.
Diffstat (limited to 'doc/hook/check_siteallowed.bb')
-rw-r--r--doc/hook/check_siteallowed.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/hook/check_siteallowed.bb b/doc/hook/check_siteallowed.bb
new file mode 100644
index 000000000..28134cbd2
--- /dev/null
+++ b/doc/hook/check_siteallowed.bb
@@ -0,0 +1,10 @@
+[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
+