Hi BuddyDev, thnks for you help I’m trying solve this problem. I had already tried with something similar but doesn’t work, with your code doesn’t work too. look if you try this:
add_filter( 'bp_get_activity_content_body', function ( $content ) {
error_log( $content );
}, 0 );
And try include one shortcode in one post and try include ‘ [just_test] ‘ in another post… You will see the log file return empty in first post and return “[just_test]” in second post.
Maybe have some filter to remove shortcode before the our filter. Sorry for my english but did you understand what i said? thnks again mate
-
This reply was modified 3 years, 3 months ago by Fábio Roque.