Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,847
- How-to & Troubleshooting
- 129,865
- Creating & Extending
- 25,895
- Requests & Feedback
- 9,544
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
Global should be called inside the function you’re creating.
I’ve fixed up the code:
http://pastebin.com/019kCG2q