Forums
-
- Forum
- Posts
-
- Installation
- 28,257
- Troubleshooting
- 61,817
- Themes
- 10,311
- Plugins
- 15,225
- Requests & Feedback
- 14,831
- Showcase
- 3,252
-
@merlin214365: As a golden rule, most functions will return a string by putting get_
in front of the function name, rather than echoing (which is just an alias for the get_ anyway). Most functions you’re likely to need are in functions.bb-template.php
too, so have a read through that and I’d recommend getting an editor like Programmer’s Notepad to be able to search through bbPress’ code all at once to understand usage.
strip_tags
will take out all HTML and PHP tags, so no need for an extra str_replace
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS