Condition OR for current user ID


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


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="">

Condition OR for current user ID</a>
, , user1818326 1 month 0 Answers 49 views 0

Leave an answer