php - How to block remote requests -


in our wordpress theme check user license wp_remote_get() request. users reported host didn't allow remote requests. question how can test myself locally development, how can simulate block remote request.

searched lot found nothing works.

i use apache, php , mysql (latest versions)

thanks!

my best try edit hostfile. mac hostfile located @

$ sudo nano /etc/hosts 

and add following line , save.

169.254.1.1  yourdomain.com 

to recreate users problems.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -