Created
September 5, 2023 09:27
-
-
Save raftaar1191/8ea7675158bbcba40689749a70820e05 to your computer and use it in GitHub Desktop.
Filter to allow shortcode to render inside forms discussion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Filter to run the shortcode into the formds | |
*/ | |
function bbp_get_topic_content_callback( $content ) { | |
return do_shortcode( $content ); | |
} | |
add_filter( 'bbp_get_topic_content', 'bbp_get_topic_content_callback', 100000 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment