User ID #1
-
return $user->ID == 1;
This checks only the LAST user in array_reduce().if(array_reduce( get_users(), array( $this, 'is_one_callback' ), false )) ... return ( $carry || $user->ID == 1 );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘User ID #1’ is closed to new replies.