Skip to content

Commit 420a529

Browse files
cconard96trasher
authored andcommitted
Add vCard Hook docs
1 parent 4a8978d commit 420a529

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

source/plugins/hooks.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,19 @@ Hooks that cannot be classified in above categories :)
250250
'content' => string //current content shown after main content
251251
];
252252
253+
``vcard_data``
254+
.. versionadded 9.5
255+
256+
Add or modify data in vCards such as IM contact information
257+
258+
.. code-block:: php
259+
260+
<?php
261+
$hook_params = [
262+
'item' => CommonDBTM, //The item the vCard is for such as a User or Contact
263+
'data' => array, //The current vCard data for the item
264+
];
265+
253266
Items business related
254267
++++++++++++++++++++++
255268

0 commit comments

Comments
 (0)