TagGroup¶
To start using the Calendar TagGroup API, add the following to the top of your file:
use EncoreDigitalGroup\PlanningCenter\Objects\Calendar\TagGroup;
TagGroup Class¶
Now we can create a new instance of the TagGroup class;
$tagGroup = TagGroup::make($clientId, $clientSecret);
All Tag Groups¶
To get all calendar tag groups that exist in Planning Center, use the following method:
$tagGroup->all();
Tags¶
Get All Tags in Tag Group¶
$tagGroup->forTagGroupId(TAG_GROUP_ID)->tags();