If special user is logged in wordpress show text
-
hello dears
I want to check if special user id is logged in WordPress. i know we have a function name is_user_logged_in() but we can’t change the id of user logged in, in this function.I need a function like this:
is_special_user_logged_in()
and check it like this:
if ( is_special_user_logged_in() ){ echo 'ali id online'; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘If special user is logged in wordpress show text’ is closed to new replies.