Forums
-
- Forum
- Posts
-
- Installation
- 28,369
- Troubleshooting
- 62,129
- Themes
- 10,387
- Plugins
- 15,305
- Requests & Feedback
- 14,886
- 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