Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,841
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
@shanebp the mentioned ref array hook works like a charm. Thank you so much driving me crazy 🙂
To the folks out there: add this to the BBpress bbpress\includes\admin\converter.php
add_action('messages_message_sent', 'my_prevent_msg_send', 5 );
function my_prevent_msg_send( $args ) {
unset( $args->recipients );
}
to prevent that PMS are send on import.
More about do_action_ref_array hooks here: https://codex.wordpress.org/Function_Reference/do_action_ref_array
rgds,
ernstl