This article explains how to add your own tabs programmatically to Jetpack CRM contacts and companies.
This is just one of many ways you can customise Jetpack CRM with code.
Adding Custom Tabs to Contact View Vitals Tab area
We’ve made this super easy.
To add your own tab to the Contact View ‘Vitals’ Tab area, you need to simply add a function which adds your tab to our array of tabs. This is fairly easy to achieve with WordPress filters.
Adding Custom Tabs to Company View Vitals Tab area
If you would like to add a custom tab to company view, the process is the same as above, only the filter name is slightly different.
The WordPress Filters
If you’re familiar with WordPress filters, here the filters we’re using are:
jetpack-crm-contact-vital-tabs
and
jetpack-crm-company-vital-tabs
These need to be added as any other WordPress filter, for example: (Note the priority & argument count parameters at the end – these are required.)
add_filter( 'jetpack-crm-contact-vital-tabs', 'yourFunctionName', 10, 2);