Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,529
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
I thought of trying to make a function that would take preference over the build in wordpress $id.
something like:
function id()
$id = $bp->groups->current_group->id
but doesn’t take effect, is there some way to take priority like with css !important ?
Edit: instead of trying the above I changed all instances of $id to my own function $group_rate
Though I just need a little help with the function and after which I dont see why it shouldn’t all work
Here’s my version, my function’s on line 7-10 : http://pastebin.com/dR74qbqM
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS