Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,536
- How-to & Troubleshooting
- 127,773
- Creating & Extending
- 25,647
- Requests & Feedback
- 9,390
- Third Party Plugins
- 9,713
- Showcase
- 3,317
- Ideas
- 1,329
- Miscellaneous
- 8,842
-
! == ‘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
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS