Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_bp_update_post_add_cppoints() {
- global $bp;
- if ($bp->loggedin_user->id != get_option( 'bp_spammer_cp_bp' ) ) {
- if( function_exists('cp_alterPoints') ){
- cp_alterPoints($bp->loggedin_user->id, get_option('bp_update_post_add_cp_bp') );
- cp_log('Comment', $bp->loggedin_user->id, get_option('bp_update_post_add_cp_bp'), BuddyPress);
- }
- }
- }
- add_action('bp_activity_posted_update','my_bp_update_post_add_cppoints');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement