Tag Groups¶
To start using the Groups Tag Group API, add the following to the top of your file:
use EncoreDigitalGroup\PlanningCenter\Objects\Groups\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 groups 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();