I need to make an extension for BuddyPress in Wordpress. The extension should behave like a plugin.
This extension should hook into BuddyPress private messages.
When two people have a conversation in private messages I would like to add an invite button thats send a question to the other part.
The other part can accept or decline. This will send a message back with the result of the answer.