[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Forums Filters.
File Size: | 251 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_forums_filter_kses( $content ) X-Ref |
Custom KSES filter for the Forums component. param: string $content Content to sanitize. return: string Sanitized string. since: 1.2.0 |
bp_forums_filter_tag_link( $link, $tag, $page, $context ) X-Ref |
Get a link for a forum topic tags directory. param: string $link Link passed from filter. param: string $tag Name of the tag. param: string $page Page number, passed from the filter. param: string $context Passed from the filter but unused here. return: string Link of the form http://example.com/forums/tag/tagname/. since: 1.1.0 |
bp_forums_make_nofollow_filter( $text ) X-Ref |
Add rel="nofollow" to bbPress content. param: string $text Post content. return: string Modified post content. since: 1.2.1 |
bp_forums_make_nofollow_filter_callback( $matches ) X-Ref |
Callback for preg_replace_callback() in bp_forums_make_nofollow_filter(). param: array $matches Regex matches from {@link bp_forums_make_nofollow_filter()}. return: string Text with nofollow links. since: 1.2.1 |
bp_forums_add_forum_topic_to_page_title( $title, $original_title, $sep, $seplocation ) X-Ref |
Append forum topic to page title. param: string $title New page title; see {@link bp_modify_page_title()}. param: string $original_title Original page title. param: string $sep How to separate the various items within the page title. param: string $seplocation Direction to display title. return: string Page title with forum topic title appended. since: 1.2.6 |
bp_forums_strip_mentions_on_post_edit( $content ) X-Ref |
Remove the anchor tag autogenerated for at-mentions when forum topics and posts are edited. Prevents embedded anchor tags. param: string $content Edited post content. return: string $content Sanitized post content. since: 1.5.0 |
bp_forums_add_replied_distinct_sql( $sql ) X-Ref |
Filter the get_topics_distinct portion of the Forums SQL when on a user's Replied To page. This filter is added in bp_has_forum_topics(). param: string $sql SQL fragment. return: string $sql SQL fragment of the form "DISTINCT t.topic_id, ". since: 1.5.0 |
bp_forums_add_replied_join_sql( $sql ) X-Ref |
Filter the get_topics_join portion of the Forums sql when on a user's Replied To page. This filter is added in bp_has_forum_topics(). param: string $sql SQL statement. return: string $sql SQL statement. since: 1.5.0 |
bp_forums_add_replied_where_sql( $sql ) X-Ref |
Filter the get_topics_where portion of the Forums sql when on a user's Replied To page. This filter is added in bp_has_forum_topics(). param: string $sql SQL fragment. return: string $sql SQL fragment. since: 1.5.0 |
Generated: Thu Dec 7 01:01:35 2017 | Cross-referenced by PHPXref 0.7.1 |