Skip to content

Instantly share code, notes, and snippets.

@JimMackin
Created July 9, 2015 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JimMackin/5e9af8800f5c01f130c4 to your computer and use it in GitHub Desktop.
Save JimMackin/5e9af8800f5c01f130c4 to your computer and use it in GitHub Desktop.
View on cal logic hook definition
<?php
if(empty($hook_array)){
$hook_array = array();
}
if(empty($hook_array['process_record'])) {
$hook_array['process_record'] = array();
}
$hook_array['process_record'][] = Array(1, 'Add View On Cal Button', 'custom/modules/Calls/ViewOnCalHook.php', 'ViewOnCalHook', 'addButton');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment