Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,834
- How-to & Troubleshooting
- 129,806
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,510
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,382
- Miscellaneous
- 9,177
-
! == ‘Not’
and isn’t really needed the function is either true or false 1 or 0 on it’s own it answers it’s own question – remove the ‘!’ and test again that it works as expected.
Cool well done had a feeling it was better to simply not run function if user logged in