BuddyPress: How do you disable the BuddyPress Public Message Button?

Report
Question

Please briefly explain why you feel this question should be reported.

Report
Cancel

Answer ( 1 )

    0
    2023-09-30T16:07:49-05:00

    Please briefly explain why you feel this answer should be reported.

    Report
    Cancel
    This answer was edited.

    On one of my sites, I added the code below to my bp-custom.php file and that worked for me.

    add_filter('bp_get_send_public_message_button', '__return_false');

    I obtained this solution from the url below:

    https://buddypress.org/support/topic/disable-public-message/

Leave an answer

Browse

By answering, you agree to the Terms of Service and Privacy Policy.