I saw a code on stackoverflow for bbpress annyomous (@robin-w it’s actually a good idea o but hard to code
Do you have shorcode for this
Here is the code they assisted me with on buddydev
/**
* Modify activity args
*
* @param array $r Activity args.
*
* @return bool
*/
function buddydev_modify_record_activity_args( $r ) {
if ( $r[‘type’] && in_array( $r[‘type’], array( ‘bbp_reply_create’, ‘bbp_reply_edit’ ) ) ) {
$r = false;
}
return $r;
}
add_filter( ‘bbp_after_record_activity_parse_args’, ‘buddydev_modify_record_activity_args’ );
And it’s worked
After adding it to my function nothing change the css is still instact