Tagged: anonymous posting, Youzify
Hello Vasudev,
use bp-custom.php. For more info look at here:
https://buddydev.com/docs/buddypress-guides/what-is-bp-custom-php/
Regards
RaviHi,
The code got the anonymous part fine, but all the other names disappeared. Please check –
Hello,
Sorry for the incovenenience. Please try the following code:
add_filter( 'bp_get_activity_action', function ( $action, $activity ) { if ( function_exists( 'bp_anonymous_activity' ) && bp_anonymous_activity()->is_anonymous_activity( $activity->id ) ) { $action = $activity->action; } return $action; }, 99, 2 );
it will modify only if the activity is anonymous.
Regards
Ravi
The topic ‘ [Resolved] Anonymous posting in youzify/buddypress’ is closed to new replies.
This topic is: resolved