How To Remove update_activity_privacy_option from bp_activity_entry_meta

Hello, I want to remove this action from RTMediaPrivacy Class

add_action( 'bp_activity_entry_meta', array( $this, 'update_activity_privacy_option' ) );

I don’t need this action as I am using child class to display privacy button on different location. Best Regards,

Mehroz Anjum.

Hello @Mehroz.Anjum,

You can try using this sample code in your theme’s functions.php file to remove the action bp_activity_entry_meta -

I hope it helps you. Thank you, Pranali


Thanks for the help but I sorted it out 5 days ago using a similar method by tripFlex on Github

Hello @Mehroz.Anjum,

Glad to know that your issue has been fixed.

We are closing this thread. Feel free to create new if you need any assistance.