{"id":25039084,"url":"https://github.com/timnashcouk/disable-comments","last_synced_at":"2026-05-02T03:33:39.898Z","repository":{"id":75068216,"uuid":"400449482","full_name":"timnashcouk/disable-comments","owner":"timnashcouk","description":"MU Plugin to disable WordPress Comments","archived":false,"fork":false,"pushed_at":"2024-03-17T11:08:31.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T03:59:42.390Z","etag":null,"topics":["wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://timnash.co.uk","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/timnashcouk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-08-27T08:59:59.000Z","updated_at":"2024-03-17T09:32:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"32c52eea-09b0-48c2-be89-1135035b88dc","html_url":"https://github.com/timnashcouk/disable-comments","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/timnashcouk/disable-comments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnashcouk%2Fdisable-comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnashcouk%2Fdisable-comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnashcouk%2Fdisable-comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnashcouk%2Fdisable-comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timnashcouk","download_url":"https://codeload.github.com/timnashcouk/disable-comments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnashcouk%2Fdisable-comments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["wordpress","wordpress-plugin"],"created_at":"2025-02-06T02:08:08.941Z","updated_at":"2026-05-02T03:33:39.883Z","avatar_url":"https://github.com/timnashcouk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disable Comments Plugin\nThis is a simple WordPress Plugin designed to be an MU or basic utility plugin that disables comments throughout the site\n\n## Installation\nNote this plugin is only available on github.com and not on WP.org so you should manually install into your mu-plugins folder\n\n## Advanced Usage\nBy default it removes all post types comments, some post types might use the comments for storing notes or similar, you might not want to remove these.\nInstead you can filter the post types to be turned off for example:\n```\nfunction tn_example_enable_orders_comments($post_types){\n    // make sure order comments are still enabled.\n    return array_diff($post_types, ['orders']);\n}\nadd_filter( 'tn_disabled_comment_post_types', 'tn_example_enable_orders_comments', 1 );\n```\nWould mean the *orders* post type comments would still be available.\n\n## Spotted a bug?\nFeel free to open an issue, here on Github.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnashcouk%2Fdisable-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimnashcouk%2Fdisable-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnashcouk%2Fdisable-comments/lists"}