BBP_Shortcodes::display_topic_tag_form()
Display the contents of a specific topic tag in an output buffer and return to ensure that post/page contents are displayed first.
Description
Parameters
- $attr
-
(array) (Required)
- $content
-
(string) (Required)
Return
(string)
Source
File: bp-forums/common/shortcodes.php
public function display_topic_tag_form() { // Unset globals $this->unset_globals(); // Start output buffer $this->start( 'bbp_topic_tag_edit' ); // Output template bbp_get_template_part( 'content', 'topic-tag-edit' ); // Return contents of output buffer return $this->end(); }
Changelog
Version | Description |
---|---|
bbPress (r3346) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.