cancel
Showing results for 
Search instead for 
Did you mean: 

Allowed IPs

SOLVED

Allowed IPs

Hi!

How I can to get (boolean value) is this IP alowed (Dev. Restrictions) or not?

1 REPLY

Re: Allowed IPs

See how the \Magento\Developer\Helper\Data::isDevAllowed() method implemented, and then substitute the current visitor IP with your custom IP address: https://mage2.pro/t/736