From e45958b967d3b455167191fa91b0c2b6983b6ad5 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 23 Sep 2015 18:27:04 -0700 Subject: add plugin hooks to channel sync/import/export --- include/identity.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/identity.php') diff --git a/include/identity.php b/include/identity.php index b5235e7ff..47738a8fa 100644 --- a/include/identity.php +++ b/include/identity.php @@ -616,6 +616,10 @@ function identity_basic_export($channel_id, $items = false) { } } + $addon = array('channel_id' => $channel_id,'data' => $ret); + call_hooks('identity_basic_export',$addon); + $ret = $addon['data']; + if(! $items) return $ret; -- cgit v1.2.3