DEV Community

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

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?

lucagrandicelli profile image
Luca Grandicelli Author

You're right. Thanks for reporting this.