Re: Help with A Hook?
Yes.
function do_something_cool () {
// Code to do something cool
}
add_action( 'bp_core_something', 'do_something_cool' );
You could even add your own custom hook so that others could then modify the outcome of your do_something_cool function. So:
function do_something_cool () {
do_action( 'before_something_cool' );
// Code to do something cool
do_action( 'after_something_cool' );
}
add_action( 'bp_core_something', 'do_something_cool' );