[Resolved] bp_activity_posted_update hook not working
-
function add_meta_to_activity( $content, $user_id, $activity_id ) { bp_activity_update_meta( $activity_id, 'option1', $_POST['option1'] ); } add_action( 'bp_activity_posted_update', 'add_meta_to_activity', 10, 3 );
bp_activity_posted_update hook is not working in my site. I wrote this function inside wp-content/bp-custom.php file. Anyone please give the solution for this
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.