DEV Community

Discussion on: Why is_admin() is totally unsafe for your Wordpress development

Collapse
 
chousmith profile image
Alex Chousmith

Great writeup. 1 small thing: in the code sample you use is_user_loggedin() but you missed the last underscore in the function. Maybe that changed in some version of WordPress itself?

developer.wordpress.org/reference/...

Collapse
 
lucagrandicelli profile image
Luca

You're right. Thanks for reporting this.