Home › Forums › BP Better Messages › Duplicate private message entry
- This topic has 5 replies, 2 voices, and was last updated 1 year, 5 months ago by
Biker.
- AuthorPosts
- December 19, 2021 at 2:15 pm #12233
Biker
ParticipantHi there,
after installing the plugin I got a double entry in my Asgaros forum.The site is in German.
Private Nachricht means English translated into English Private Message.And that is now double in there.
I would like to have only the original (in red) with the letter icon.
The one in blue was added by “BP Better Messages”.
How can I do that?I use BuddyPress, the Asgaros Forum and “BP Better Messages”.
Thanks and best regards
Reiner
December 19, 2021 at 2:17 pm #12235Support
KeymasterHi there!
You can use this PHP snippet.
add_action('init', function(){ remove_action('asgarosforum_after_post_author', array( BP_Better_Messages_Hooks(), 'asragaros_thread_view'), 10, 2); });
December 19, 2021 at 2:30 pm #12241Biker
ParticipantHi Andrij,
Thank you for your help
Where does that go in?
in the function.php?
Many greetings
Reiner
December 19, 2021 at 2:30 pm #12242Support
Keymasteryes, functions.php works
December 19, 2021 at 2:37 pm #12244Biker
ParticipantAfter pasting it at the end of function.php, I get a critical error on the page.
December 19, 2021 at 2:47 pm #12246Biker
ParticipantThank you for your help
came up with it myself. 😉
remove_action('asgarosforum_after_post_author', array( BP_Better_Messages_Hooks(), 'asragaros_thread_view'), 10, 2);
- AuthorPosts
- You must be logged in to reply to this topic.