Title: [Plugin: BuddyPress Restrict Group Creation] coding error
Last modified: August 20, 2016

---

# [Plugin: BuddyPress Restrict Group Creation] coding error

 *  Resolved [Doug Cone](https://wordpress.org/support/users/nullvariable/)
 * (@nullvariable)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-buddypress-restrict-group-creation-coding-error/)
 * latest version of the code appears to incorrectly add an action hook on line 
   23.
 * Current:
    ` add_action( bp_core_admin_hook(), 'etivite_bp_restrictgroups_add_admin...
 * Should actually be:
    ` add_action( 'bp_core_admin_hook', 'etivite_bp_restrictgroups_add_admin...
 * [http://wordpress.org/extend/plugins/buddypress-restrict-group-creation/](http://wordpress.org/extend/plugins/buddypress-restrict-group-creation/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [rich](https://wordpress.org/support/users/etivite/)
 * (@etivite)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-buddypress-restrict-group-creation-coding-error/#post-2472552)
 * bp_core_admin_hook() is a function
 * [http://buddypress.trac.wordpress.org/browser/tags/1.5/bp-core/bp-core-functions.php#L208](http://buddypress.trac.wordpress.org/browser/tags/1.5/bp-core/bp-core-functions.php#L208)

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: BuddyPress Restrict Group Creation] coding error’ is closed 
to new replies.

 * ![](https://ps.w.org/buddypress-restrict-group-creation/assets/icon-256x256.png?
   rev=2000218)
 * [BuddyPress Restrict Group Creation](https://wordpress.org/plugins/buddypress-restrict-group-creation/)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-restrict-group-creation/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-restrict-group-creation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-restrict-group-creation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-restrict-group-creation/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [rich](https://wordpress.org/support/users/etivite/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-buddypress-restrict-group-creation-coding-error/#post-2472552)
 * Status: resolved