Disables WP from contacting servers and disables users from installing anything in wp-admin.

Installs: 1 941

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0


v1.0.2 2018-03-30 18:41 UTC

This package is auto-updated.

Last update: 2021-03-24 05:03:07 UTC


Build Status


Preferred installation way is with composer:

$ composer require alexsancho/wp-core-blocker


This plugin is meant for composer driven sites. It helps you to force installing/updating stuff only through composer or cli. It also blocks WordPress core from connecting to servers to make site faster and not to fail under local development with poor internet connection.

Current Actions

  • disables installing plugins and themes
  • disables admin dashboard WP news widget
  • disables all WP update checks for core, translations, themes, and plugins
  • define('WP_CORE_BLOCKER_DISABLE_GRAVATAR',true) replaces all instances of Gravatar with a local image to remove external call


  • Disable all connections which cause errors without internet connections so that we can use whoops in local development without annoying errors.