PHPackages                             beapi/wp-http-blocklist - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. beapi/wp-http-blocklist

ActiveWordpress-plugin[HTTP &amp; Networking](/categories/http)

beapi/wp-http-blocklist
=======================

Block unwanted HTTP requests with a deny list

1.0.6(1y ago)1018.3k↓25%1GPL-2.0PHPPHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0CI passing

Since May 28Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/BeAPI/wp-http-blocklist)[ Packagist](https://packagist.org/packages/beapi/wp-http-blocklist)[ RSS](/packages/beapi-wp-http-blocklist/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (10)Versions (16)Used By (0)

[![Be API Github Banner](.github/banner-github.png)](https://beapi.fr)

WP HTTP Blocklist
=================

[](#wp-http-blocklist)

Block unwanted HTTP requests with a blocklist.

When you manage platforms with WordPress with composer, it is sometimes penalizing to have all HTTP requests for update control.

For WordPress updates, you can use the very good [Disable All WordPress Updates](https://wordpress.org/plugins/disable-wordpress-updates/) plugin, but for other plugins, blocklist management seems more flexible :)

Requirements
------------

[](#requirements)

- WordPress &gt; 4.4
- PHP &gt; 5.6

Customization and hooks
-----------------------

[](#customization-and-hooks)

By default, you have a blocklist integrated into the plugin which will be gradually enriched.

You can add or modify the domains to block via the following hook / filter: "wp\_http\_blocklist" which transmits an array.

Example

```
