Skip to content

Commit

Permalink
Add vCard Hook docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 authored and trasher committed Mar 2, 2021
1 parent 4a8978d commit 420a529
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/plugins/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,19 @@ Hooks that cannot be classified in above categories :)
'content' => string //current content shown after main content
];
``vcard_data``
.. versionadded 9.5
Add or modify data in vCards such as IM contact information

.. code-block:: php
<?php
$hook_params = [
'item' => CommonDBTM, //The item the vCard is for such as a User or Contact
'data' => array, //The current vCard data for the item
];
Items business related
++++++++++++++++++++++

Expand Down

0 comments on commit 420a529

Please sign in to comment.