Skip to content

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 = new TagGroup($client);

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->tagGroupId = TAG_GROUP_ID;
$tagGroup->tags();

Get a Single Tag in a Tag Group

$tagGroup->tagId = TAG_ID;
$tagGroup->tag();