Update training-buddypress.php

Maybe the bug was it was filter instead of action?