Admin to user notices – best practices?

I don’t see this as excessively heavy. Just use is_user_logged_in() and current_user_can(). Obviously if user isn’t logged in then you can skip checking for any roles. I am not sure, but user data is probably held in memory so there will be no extra database calls and such.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)