How to find a callback attached to a bbpress hook?

To find an attached callback, you normally can just do the following:

printf( '<pre>%s</pre>', var_export( $GLOBALS['wp_filter']['hook_name'], TRUE ) );

This should give you back an array of callbacks attached to a hook, ordered by priority (which serves as key).

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)