Changeset 6438 for trunk/src/includes/common/shortcodes.php
- Timestamp:
- 05/27/2017 05:04:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/shortcodes.php
r6415 r6438 175 175 $this->unset_globals(); 176 176 177 // Get the query name, for filter 178 $query_name = bbp_get_query_name(); 179 177 180 // Reset the query name 178 181 bbp_reset_query_name(); 179 182 180 183 // Return and flush the output buffer 181 return ob_get_clean(); 184 $output = ob_get_clean(); 185 186 // Filter & return 187 return apply_filters( 'bbp_display_shortcode', $output, $query_name ); 182 188 } 183 189
Note: See TracChangeset
for help on using the changeset viewer.