WordPress plugin intelligence profile

BlackSwan | Block External Request

Block unwanted external HTTP requests in WordPress. Blacklist/whitelist management, resource blocking, and one-click pause.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version2.9.3
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 5.0 · PHP 5.4
Directory statusactive
Last directory update13 Apr 20266mo ago
Active installations40Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records BlackSwan | Block External Request version 2.9.3 as active, updated 6mo ago and tested up to WordPress 6.8.

Overview

About this plugin

BlackSwan Block External Request gives you granular control over every outgoing connection your WordPress site makes — both server-side PHP requests and browser-loaded JS/CSS resources.

WordPress, plugins, and themes constantly send background HTTP requests: update checks, license pings, analytics, font downloads, CDN calls, and more. On slow servers or restricted hosting environments, these requests can add seconds to every admin page load.

This plugin lets you block what you don’t need and keep what you do.

What it does

Server-side HTTP Blocking (PHP)

Intercepts outgoing wp_remote_get / wp_remote_post calls via the pre_http_request filter. Add domains to the blacklist and they’ll be blocked before the request is even made. g.

plugin update API).

Browser-side Resource Blocking (JS/CSS by Domain)

Deregisters enqueued JavaScript and CSS files loaded from blacklisted external domains. Toggle separately for admin panel and public frontend. Your own site’s assets are never touched.

Block Specific Resources (by URL)

Block individual JS or CSS files by full URL, partial path, or even just a filename — works for both local and external resources. Per-item backend/frontend toggle. Perfect for removing unwanted plugin assets without editing code.

Features

  • Blacklist & whitelist with inline edit, delete, and delete-all
  • Block external JS/CSS by domain (backend, frontend, or both)
  • Block specific resources by URL pattern (local or external)
  • One-click pause/resume — instantly disable all blocking
  • Safe mode via?bswan-safe=1 — emergency bypass for any admin page
  • Settings page auto-bypasses resource blocking so you never lock yourself out
  • Export/import all settings as a single JSON file
  • AJAX-powered save — no page reloads
  • Query Monitor integration — detect, activate, or install from settings
  • All settings stored as a single JSON option with autoload=no for performance
  • Fully standalone — zero external dependencies (inline Lucide SVG icons)
  • Modern liquid glass UI with dot-grid background
  • WordPress native postbox layout with collapsible sections
  • Translation-ready with full text domain support

Who is this for?

  • Sites on slow or restricted hosting where external calls cause timeouts
  • Developers debugging performance issues
  • Agencies managing client sites that don’t need update checks
  • Anyone who wants a faster wp-admin experience

Developer Hooks

Four filters are available for developers to customize blocking behavior programmatically. These run on every page load and merge with the values from the settings page.

BlackSwan\block_external_request\block_url_list

Filter the array of blocked domain strings. Each entry is matched via strpos() against the full request URL.

com'; return $domains; });

BlackSwan\block_external_request\whitelist_urls

Filter the array of whitelisted URL patterns. If a blocked URL also matches a whitelist pattern (via strpos() ), the request is allowed through.

com/v2/license'; return $patterns; });

Whitelist patterns take priority over blacklist domains. Both filters accept and return a flat array of strings.

BlackSwan\block_external_request\blocked_resources

Filter the array of specific JS/CSS resources to block. Each entry is an associative array with url, backend, and frontend keys. The url is matched via strpos() against each registered script/style source.

js', 'backend' => false, 'frontend' => true ); return $resources; });

BlackSwan\block_external_request\cdn_replacements

Filter the array of CDN replacement rules. Each entry is an associative array with pattern, cdn, backend, and frontend keys. When an enqueued asset source contains the pattern, it is replaced with the cdn URL.

js', 'backend' => false, 'frontend' => true ); return $replacements; });

Links

  • Developer — AmirhpCom
  • BlackSwan
  • Plugin GitHub Page
  • Rate 5-Star
  • Support & Issues

Copyright

BlackSwan Block External Request is free software distributed under the terms of the GNU General Public License v2 or later.

com

This plugin is developed and maintained by BlackSwan Lab.

You are free to use, modify, and distribute this plugin under the GPLv2 license. The developers are not responsible for any issues caused by misconfigured blocking rules. Always maintain proper backups before making changes to your site’s HTTP request behavior.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • block http requests
  • external requests
  • blacklist
  • performance
  • whitelist
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 5.0 · PHP 5.4
Update activity13 Apr 20266mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.