Condition OR for current user ID

Question

I’m tryng without success to create a custom backend based on user ID, if user id is different the 1 or different then 2 show custom backend.

This is my code but it doesn’t work, any help would be very appreciate it.

if ($current_user_id != 1 || $current_user_id != 2){ show custom backend

Thank you

0
, , user1818326 4 years 2020-06-02T11:11:24-05:00 0 Answers 83 views 0

Leave an answer

Browse
Browse