BuddyDev

Search

[Resolved] BuddyPress Extended Friendship Request default message

  • Participant
    Level: Enlightened
    Posts: 73
    Gregg Housh on #8613

    I originally posted this over here: https://wordpress.org/support/topic/default-message/

    But you’re so responsive over here, so I figured I would move it over here.

    I would love the option to put in a default message in place. Right now I have edited the plugin itself to put in the message I wanted.

  • Keymaster
    (BuddyDev Team)
    Posts: 24300
    Brajesh Singh on #8616

    Hi Gregg,
    Thank you for posting here.

    I am sorry but the plugin currently does not allow that. Please allow me to post an update today.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 73
    Gregg Housh on #8617

    That would be amazing of you. Thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24300
    Brajesh Singh on #8628

    Thank you. I am posting it in an hour today.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24300
    Brajesh Singh on #8633

    Hi again,
    The update is available now.

    https://wordpress.org/plugins/buddypress-extended-friendship-request/

    Please upgrade to 1.0.9 and then you can put the following code in bp-custom.php

    
    
    function buddydev_default_extended_friendship_message( $message ) {
    
    	$message ='Let us get connected!';
    	return $message;
    }
    add_filter( 'bp_ext_friendship_default_message', 'buddydev_default_extended_friendship_message' );
    
    

    We do plan to provide a UI for it in future.

    Hope that helps.
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 73
    Gregg Housh on #8635

    That works, thank you for that. Tested and its great.

  • Keymaster
    (BuddyDev Team)
    Posts: 24300
    Brajesh Singh on #8637

    wow, that was fast!

    Thank you for testing and confirming 🙂

The topic ‘ [Resolved] BuddyPress Extended Friendship Request default message’ is closed to new replies.

This topic is: resolved