Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Change “private message link”

@b2marketing

Participant

Thanks Henry. Will download the plugin and see if it works with some other customisations I got. It might not so that is why I am looking at doing this filter thing similar to this code I am trying to get to work.

function override_button() {
return apply_filters( ‘bp_get_send_private_message_link’, wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/compose/test/?r=’ . bp_core_get_username( bp_displayed_user_id() ) ) );

}
add_filter(‘bp_get_send_private_message_link’,’override_button’);

Skip to toolbar