groups_member_before_save messages not showwing up
-
As mentioned in my other post i am using this hook to do some checking if comments have been entered or not but any bp_core_add_message i put in here are not showing up. It does correctly stop the request and redirects to home page but i am unable to throw an error message.. any idea what is going on??
Here’s my code..
`
add_action( ‘groups_member_before_save’, ‘RECN_PRIVATE_GROUP_REQUEST_VALIDATION’ );function RECN_PRIVATE_GROUP_REQUEST_VALIDATION($groupmemberdetails)
{/*
* only if current slug is request-membership do validation
*/bp_core_add_message(‘ hmm the cyrrent action is !!!!’);
$groupmemberdetails->user_id =”;}
- The topic ‘groups_member_before_save messages not showwing up’ is closed to new replies.