Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adds post-review hook for other plugins to use

  • Loading branch information...
commit 4f530ff4598163385dd215c885d58ccd7e8fc89f 1 parent c62310f
@boonebgorges authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  includes/classes.php
View
2  includes/classes.php
@@ -104,6 +104,8 @@ function post_review( $args = '' ) {
groups_update_groupmeta( $group_id, 'last_activity', gmdate( "Y-m-d H:i:s" ) );
+ do_action( 'bpgr_posted_review', $args, $activity_id );
+
return $activity_id;
}
Please sign in to comment.
Something went wrong with that request. Please try again.