Ok, there seems to be a little catch that we have not registered the apply for course as a registered activity in buddypress. This should have been there in the first place and may have caused all the trouble.
I have added a fix for this in the update.
For now, these two lines should solve your purpose :
add_filter('bp_course_Register_actions',function($actions){
$actions['course_application']= __( 'Student applied for course', 'vibe' );
$actions['course_application_approve']= __( 'Student application approved for course', 'vibe' );
$actions['course_application_reject']= __( 'Student applicaiton rejected for course', 'vibe' );
});
Thank you, will test this in a couple of days.
okay ,
We are closing this topic.