{"id":18432246,"url":"https://github.com/jaywood/is-version-control","last_synced_at":"2025-08-03T14:34:45.887Z","repository":{"id":150107837,"uuid":"43930965","full_name":"JayWood/is-version-control","owner":"JayWood","description":"A WordPress plugin to stop users from updating plugins and themes if they're under your control.","archived":false,"fork":false,"pushed_at":"2016-01-09T19:47:36.000Z","size":32,"stargazers_count":19,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T23:42:47.479Z","etag":null,"topics":["remove","update","wordpress-development"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JayWood.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-09T03:33:54.000Z","updated_at":"2023-08-31T03:01:28.000Z","dependencies_parsed_at":"2023-04-17T23:33:04.539Z","dependency_job_id":null,"html_url":"https://github.com/JayWood/is-version-control","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayWood%2Fis-version-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayWood%2Fis-version-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayWood%2Fis-version-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayWood%2Fis-version-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JayWood","download_url":"https://codeload.github.com/JayWood/is-version-control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223289398,"owners_count":17120628,"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","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":["remove","update","wordpress-development"],"created_at":"2024-11-06T05:28:01.979Z","updated_at":"2024-11-06T05:28:02.519Z","avatar_url":"https://github.com/JayWood.png","language":"PHP","readme":"# WordPress Plugin - Is Version Controlled\n\n**Plugin Name:** Is Version Controlled   \n**Plugin URI:** http://www.plugish.com/      \n**Author:** Jerry Wood Jr.   \n**Version:** 0.1.1   \n**Author URI:**\thttp://plugish.com      \n\nThis is a WordPress plugin designed for developers and agencies that just hate those calls of \"Oops I updated the plugin\" which we all know too well.\nThe intent behind this plugin is to block those updates to themes/plugins, and update notifications from within the WordPress admin.\n\n## Filters\n\nI tried to make this as easy as possible from a developer standpoint, so I've included some filters that fill the basic needs.  If you don't see something that you think should be here\nthen by all means make a pull request.\n\n### ivc_plugins\nUse this filter to remove plugins. Notice that plugins require `\u003cfolder\u003e/\u003cfile\u003e.php`\n\n```php\nfunction test_plugins( $plugins ) {\n\t$plugins[] = 'akismet/akismet.php';\n\treturn $plugins;\n}\nadd_filter( 'ivc_plugins', 'test_plugins' );\n```\n\n### ivc_themes\nYou can use this filter to remove specific themes from update checks.  Notice this only requires the theme slug ( usually the folder name ).\n\n```php\nfunction test( $themes ) {\n\t$themes[] = 'twentyfifteen';\n\treturn $themes;\n}\nadd_filter( 'ivc_themes', 'test' );\n```\n\n### ivc_message_string\nIf you would like a different message string instead of the default on the plugins list page, you can use this.\n\n```php\n/**\n * Overwrites the default message for Version Control\n * @param string $message The Default Message\n * @param string $plugin_file The filepath to the plugin, ie. akismet/akismet.php\n * @param array $plugin_data Plugin data array, such as version, name, etc....\n */\nfunction overwrite_message( $message, $plugin_file, $plugin_data ) {\n\treturn 'Do not touch my plugin!';\n}\nadd_filter( 'ivc_message_string', 'overwrite_message', 10, 3 );\n```\n\n## Screenshots\n![Is Version Control](https://raw.githubusercontent.com/JayWood/is-version-control/master/screenshot.png)\n\n## TODO\n* Remove download button from theme update details link.\n* More?\n\n## Changelog\n\n### 0.1.1\n* Removes the Plugin Update button from the popover\n* Two new filters `ivc_private_themes` and `ivc_private_plugins` to prevent plugins from contacting wp.org altogether.\n* Bring back the update toolbar if non-private plugin\n* Update filters to remove plugin updates from update-core screen\n* A few method name changes, more logical naming convention\n* Override update message for themes\n* Remove update message from update-core screen\n\n### 0.1.0\n* Initial upload","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywood%2Fis-version-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaywood%2Fis-version-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywood%2Fis-version-control/lists"}