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 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

1 REPLY 1

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