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
Post a Comment