{"id":34638731,"url":"https://github.com/generoi/wp-gds-cmp","last_synced_at":"2026-05-26T22:32:24.816Z","repository":{"id":43265611,"uuid":"454694766","full_name":"generoi/wp-gds-cmp","owner":"generoi","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-19T11:48:52.000Z","size":1461,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-30T13:49:51.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/generoi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-02T08:25:22.000Z","updated_at":"2022-07-09T17:33:49.000Z","dependencies_parsed_at":"2023-02-01T05:30:37.921Z","dependency_job_id":null,"html_url":"https://github.com/generoi/wp-gds-cmp","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/generoi/wp-gds-cmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-gds-cmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-gds-cmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-gds-cmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-gds-cmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/generoi","download_url":"https://codeload.github.com/generoi/wp-gds-cmp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-gds-cmp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28005414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-24T17:12:57.955Z","updated_at":"2025-12-24T17:12:58.318Z","avatar_url":"https://github.com/generoi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP GDS CMP\n\nThis plugin embeds the [GDS Consent Manager](https://gds.generogrowth.com/master/?path=/story/complex-components-consentmanager--options) tag on a wp site using a theme that has the Genero Design System.\n\n## Installation\n`composer require generoi/wp-gds-cmp`\n\n## Requirements\ngenero-design-system version 4.0.0-beta.16 or higher.\n\n## Filters\n### Add consents\n```sh\nadd_filter( 'gds_cmp_consents', function($consents) {\n    $consents[] = [\n        'id' =\u003e 'my-new-consent',\n        'label' =\u003e __('My new consent', 'wp-gds-cmp'),\n        'description' =\u003e __('This is a description of my new consent.', 'wp-gds-cmp'),\n        'necessary' =\u003e false,\n    ];\n    return $consents;\n});\n```\n\n## Screenshots\n\n![Initial screen](assets/screenshot-1.png)\n\n![Edit cookies](assets/screenshot-2.png)\n\n![Details](assets/screenshot-3.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fwp-gds-cmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneroi%2Fwp-gds-cmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fwp-gds-cmp/lists"}