Skip to content

Instantly share code, notes, and snippets.

@bhubbard
Created December 28, 2022 17:30
Show Gist options
  • Save bhubbard/2b1100d0e20291b14115199a98c5191a to your computer and use it in GitHub Desktop.
Save bhubbard/2b1100d0e20291b14115199a98c5191a to your computer and use it in GitHub Desktop.
6 +25 You can Disable External request by adding this in your wp-config.php ( Also, you can specify domain which you don't want to block like this).
define( 'WP_HTTP_BLOCK_EXTERNAL', TRUE );
define( 'WP_ACCESSIBLE_HOSTS', 'example.com, domain.com' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment