Move bp_message_get_notices() to an action
|Reported by:||r-a-y||Owned by:|
|Component:||Appearance - Template Parts||Keywords:||dev-feedback|
Right now, we hardcode the notices to the sidebar.
What if we want to show the notices somewhere else and we want to unhook the notices from the sidebar?
Attached patch adds bp_message_get_notices() as an action and allows theme developers to easily remove sidebar notices with remove_action.
Attached patch is against 1.2.6.
Only problem is theme developers will need to update their theme so double notices will not show up (similar to the double buttons issue that popped up after v1.2.6 was released).