Add custom fields to Checklist Items in Tasks

This tutorial tells how to add custom fields to CheckList Items. The checklist Item fields are stored as an array and with custom filter it can be extended to add new fields.

add following code to your child theme – functions.php 

add_filter(‘vibe_projects_enqueue_project_scripts’,function($args){

$args[‘settings’][‘checklist_item_fields’][] = [‘key’=>’startdate’,’label’=>’Start Date’,’type’=>’date’];

$args[‘settings’][‘checklist_item_fields’][] = [‘key’=>’eststartdate’,’label’=>’Estimated Start Date’,’type’=>’date’];

$args[‘settings’][‘checklist_item_fields’][] = [‘key’=>’estenddate’,’label’=>’Estimated End Date’,’type’=>’date’];

return $args;

});

result : https://prnt.sc/E_BVCtlTIXaV

%d bloggers like this: