Skip to content

Demonstrate new tag format with active and inactive status #815

Open
arnelap wants to merge 1 commit intoibericode:mainfrom
arnelap:Code-snippets-for-tag-removal
Open

Demonstrate new tag format with active and inactive status #815
arnelap wants to merge 1 commit intoibericode:mainfrom
arnelap:Code-snippets-for-tag-removal

Conversation

@arnelap
Copy link
Contributor

@arnelap arnelap commented Jan 20, 2026

was $subscriber->tags[] = 'My tag';
now
$subscriber->tags[] = ['name' => 'Another tag', 'status' => 'active']; $subscriber->tags[] = ['name' => 'Remove this tag', 'status' => 'inactive'];

as for the CF7 ID, CF7 shows some internal ID that is NOT the post ID so that can be confusing.

…ied form ID for CF7

was $subscriber->tags[] = 'My tag';
now
$subscriber->tags[] = ['name' => 'Another tag', 'status' => 'active'];
$subscriber->tags[] = ['name' => 'Remove this tag', 'status' => 'inactive'];

as for the CF7 ID, CF7 shows some internal ID that is NOT the post ID so that can be confusing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant