Groups icon
Membership & Users

Groups hooks reference

  • By itthinx
  • v4.9.0 New
  • Updated

Groups 4.9.0 has 34 actions and 97 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Groups fires an action
add_action( 'groups_access_meta_boxes_after_groups_read_update', function( $post_id, $group_ids, $update_result ) {
	// Your code runs here.
}, 10, 3 );

// Change a value Groups is about to use
add_filter( 'groups_add_submenu_page_function', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • lib/admin/class-groups-admin.php line 219 · used in 4 places
    /**
     * Invoked when a Groups submenu page is added, determines the function that
     * renders the submenu page.
     */
    apply_filters( 'groups_add_submenu_page_function', 'groups_admin_tree_view' );
  • lib/access/class-groups-access-meta-boxes.php line 441 · used in 2 places
    /**
     * Fires after the post access group IDs were updated for the post.
     */
    do_action( 'groups_access_meta_boxes_after_groups_read_update', $post_id, $group_ids, $update_result );
  • lib/access/class-groups-access-meta-boxes.php line 432 · used in 2 places
    /**
     * Fires before post access group IDs are updated for the post.
     */
    do_action( 'groups_access_meta_boxes_before_groups_read_update', $post_id, $group_ids );
  • lib/admin/class-groups-admin.php line 194 · used in 2 places
    /**
     * Determines the function that outputs the Groups menu page.
     */
    apply_filters( 'groups_add_menu_page_function', 'groups_admin_groups' );
  • legacy/access/class-groups-post-access-legacy.php line 71 · used in 2 places
    /**
     * Whether Groups should apply its the_posts filter. By default, the filter is
     * not applied.
     */
    apply_filters( 'groups_filter_the_posts', false );
  • legacy/access/class-groups-post-access-legacy.php line 436 · used in 2 places
    /**
     * This filter allows to override the Groups’ verdict on whether a user can
     * access a post.
     */
    apply_filters( 'groups_post_access_user_can_read_post', $result, $post_id, $user_id );
  • lib/access/class-groups-access-meta-boxes.php line 308
    /**
     * Filter the output of the read groups box.
     */
    apply_filters( 'groups_access_meta_boxes_groups', $output, $object, $box );
  • lib/access/class-groups-access-meta-boxes.php line 299
    /**
     * Filter the output after the read groups box.
     */
    apply_filters( 'groups_access_meta_boxes_groups_after_read_groups', '', $object, $box );
  • lib/access/class-groups-access-meta-boxes.php line 211
    /**
     * Filter the output before the read groups box.
     */
    apply_filters( 'groups_access_meta_boxes_groups_before_read_groups', '', $object, $box );
  • lib/access/class-groups-access-meta-boxes.php line 225
    /**
     * Filter the options used to obtain available groups shown in the read groups
     * box.
     */
    apply_filters( 'groups_access_meta_boxes_groups_get_groups_options', array( 'order_by' => 'name', 'order' => 'ASC', 'include' => $include ), $object, $box );
  • lib/access/class-groups-access-meta-boxes.php line 676
    /**
     * Filter the group IDs that the user can use to restrict access.
     */
    apply_filters( 'groups_access_meta_boxes_user_can_restrict_group_ids', $group_ids, $user_id );
  • legacy/access/class-groups-access-meta-boxes-legacy.php line 262
    /**
     * Filter if capability is selected.
     */
    apply_filters( 'groups_access_restrictions_capability_selected', in_array( $capability->capability, $read_caps ), $capability->capability, $capability->capability_id, $read_caps, $post_id, $post_type );
  • lib/admin/groups-admin-groups-add.php line 133
    /**
     * Relates to the admin screen that allows to add a group.
     */
    apply_filters( 'groups_admin_groups_add_form_after_fields', '' );
  • lib/admin/groups-admin-groups-add.php line 189
    /**
     * Fires after the request to add a group has been successful.
     */
    do_action( 'groups_admin_groups_add_submit_success', $group_id );
  • lib/admin/groups-admin-groups.php line 517
    /**
     * Allows to add markup after the standard bulk actions fields of the groups
     * table.
     */
    apply_filters( 'groups_admin_groups_bulk_actions_fields_epilogue', '' );
  • lib/admin/groups-admin-groups.php line 531
    /**
     * Allows to process the HTML of the bulk actions section of the groups table.
     */
    apply_filters( 'groups_admin_groups_bulk_actions_html', $bulk_html );
  • lib/admin/groups-admin-groups.php line 749
    /**
     * Provide the row's output for the column identified by $key for the group
     * given by its ID.
     */
    apply_filters( 'groups_admin_groups_column_content', '', $key, $group->get_group_id() );
  • lib/admin/groups-admin-groups.php line 423
    /**
     * Allows to modify the columns of the groups table.
     */
    apply_filters( 'groups_admin_groups_columns', $columns );
  • lib/admin/groups-admin-groups-edit.php line 176
    /**
     * Relates to the admin screen that allows to edit a group.
     */
    apply_filters( 'groups_admin_groups_edit_form_after_fields', '', $group_id );
  • lib/admin/groups-admin-groups-edit.php line 279
    /**
     * Fires after a request to update a group has been successful.
     */
    do_action( 'groups_admin_groups_edit_submit_success', $group_id );
  • lib/admin/groups-admin-groups.php line 454
    /**
     * Allows to add markup after the standard filter fields of the groups table.
     */
    apply_filters( 'groups_admin_groups_filters_fields_epilogue', '' );
  • lib/admin/groups-admin-groups.php line 472
    /**
     * Allows to process the HTML of the filters section of the groups table.
     */
    apply_filters( 'groups_admin_groups_filters_html', $filters_html );
  • lib/admin/groups-admin-groups.php line 197
    /**
     * Handle the requested action and produce the corresponding output.
     */
    do_action( 'groups_admin_groups_handle_action', groups_sanitize_get( 'action' ), groups_sanitize_get( 'group_id' ) );
  • lib/admin/groups-admin-groups.php line 156
    /**
     * Fires after the posted data for an action was accepted.
     */
    do_action( 'groups_admin_groups_handle_action_confirm', groups_sanitize_post( 'action' ) );
  • lib/admin/groups-admin-groups.php line 167
    /**
     * Fires after the posted data for an action was rejected.
     */
    do_action( 'groups_admin_groups_handle_action_reject', groups_sanitize_post( 'action' ) );
  • lib/admin/groups-admin-groups.php line 146
    /**
     * Handle a requested action after $_POST.
     */
    apply_filters( 'groups_admin_groups_handle_action_submit', false, groups_sanitize_post( 'action' ) );
  • lib/admin/groups-admin-groups.php line 127
    /**
     * Handle the requested bulk action.
     */
    do_action( 'groups_admin_groups_handle_bulk_action', $bulk_action, $group_id );
  • lib/admin/groups-admin-groups.php line 390
    /**
     * Allows to modify the query for the groups table.
     */
    apply_filters( 'groups_admin_groups_query', $query );
  • lib/admin/groups-admin-groups.php line 404
    /**
     * Allows to modify the results for the groups table.
     */
    apply_filters( 'groups_admin_groups_results', $results );
  • lib/admin/groups-admin-groups.php line 646
    /**
     * Allows to alter the row actions for a group in the groups table.
     */
    apply_filters( 'groups_admin_groups_row_actions', $row_actions, intval( $result->group_id ) );
  • lib/admin/groups-admin-groups.php line 671
    /**
     * Allows to process the HTML of the row actions for a group in the groups
     * table.
     */
    apply_filters( 'groups_admin_groups_row_actions_html', $row_actions_html, intval( $result->group_id ) );
  • lib/admin/class-groups-admin.php line 282
    /**
     * This action fires after Groups has added the core pages of the Groups menu.
     */
    do_action( 'groups_admin_menu', $pages );
  • lib/admin/groups-admin-options.php line 338
    /**
     * Fires if legacy setting has changed.
     */
    do_action( 'groups_admin_options_legacy', $groups_legacy_enable !== $previous_legacy_enable );
  • lib/admin/class-groups-admin-posts.php line 177
    /**
     * Filter groups used to filter access restrictions.
     */
    apply_filters( 'groups_admin_posts_restrict_manage_posts_get_groups', Groups_Group::get_groups( apply_filters( 'groups_admin_posts_restrict_manage_posts_get_groups_options', array( 'order_by' => 'name', 'order' => 'ASC' ) ) ) );
  • lib/admin/class-groups-admin-posts.php line 185
    /**
     * Filter options used to get groups used to filter access restrictions.
     */
    apply_filters( 'groups_admin_posts_restrict_manage_posts_get_groups_options', array( 'order_by' => 'name', 'order' => 'ASC' ) );
  • lib/admin/class-groups-admin-user-profile.php line 217
    /**
     * Allow to filter the groups offered.
     */
    apply_filters( 'groups_admin_user_profile_edit_user_profile_groups', $wpdb->get_results( "SELECT * FROM $groups_table ORDER BY name" ), $user->get_user()->ID );
  • lib/admin/class-groups-admin-user-profile.php line 281
    /**
     * Filter groups provided during user profile update.
     */
    apply_filters( 'groups_admin_user_profile_edit_user_profile_update_groups', $wpdb->get_results( "SELECT * FROM $groups_table" ), $user_id );
  • lib/admin/class-groups-admin-user-profile.php line 86
    /**
     * Allow to filter the groups.
     */
    apply_filters( 'groups_admin_user_profile_user_new_form_groups', $wpdb->get_results( "SELECT * FROM $groups_table ORDER BY name" ), $type );
  • lib/admin/class-groups-admin-user-profile.php line 143
    /**
     * Allow to filter the groups offered.
     */
    apply_filters( 'groups_admin_user_profile_user_register_groups', $wpdb->get_results( "SELECT * FROM $groups_table" ), $user_id );
  • lib/admin/class-groups-admin-users.php line 170
    /**
     * Filter groups provided to filter.
     */
    apply_filters( 'groups_admin_users_restrict_manage_users_groups', $wpdb->get_results( "SELECT * FROM $groups_table ORDER BY name" ) );
  • lib/admin/class-groups-admin-users.php line 254
    /**
     * Filter user counts per group.
     */
    apply_filters( 'groups_admin_users_views_users_counts', $wpdb->get_results( "SELECT COUNT(user_id) AS count, group_id FROM $user_group_table GROUP BY group_id" ) );
  • lib/admin/class-groups-admin-users.php line 247
    /**
     * Filter available groups.
     */
    apply_filters( 'groups_admin_users_views_users_groups', Groups_Group::get_groups( array( 'order_by' => 'name', 'order' => 'ASC' ) ) );
  • lib/core/class-groups-cache.php line 423
    /**
     * Filter the delete lock timeout.
     */
    apply_filters( 'groups_cache_delete_lock_timeout', self::LOCK_TIMEOUT, $key, $group );
  • lib/core/class-groups-cache.php line 600
    /**
     * Apply suffix to extended key.
     */
    apply_filters( 'groups_cache_extend_key_suffix', '', $key, $flags );
  • lib/core/class-groups-cache.php line 208
    /**
     * Filter the lock timeout.
     */
    apply_filters( 'groups_cache_get_lock_timeout', self::LOCK_TIMEOUT, $key, $group );
  • lib/core/class-groups-cache.php line 520
    /**
     * Apply suffix to extended group.
     */
    apply_filters( 'groups_cache_group_suffix', '', $group, $flags );
  • lib/core/class-groups-cache-robot.php line 164
    /**
     * Filter comment groups.
     */
    apply_filters( 'groups_cache_robot_comment_groups', self::$comment_groups );
  • lib/core/class-groups-cache-robot.php line 509
    /**
     * Add all groups to flush?
     */
    apply_filters( 'groups_cache_robot_flush_all', true, current_action(), $args );
  • lib/core/class-groups-cache-robot.php line 275
    /**
     * Add comment groups to flush?
     */
    apply_filters( 'groups_cache_robot_flush_comment', true, current_action(), $args );
  • lib/core/class-groups-cache-robot.php line 554
    /**
     * Filter groups to flush.
     */
    apply_filters( 'groups_cache_robot_flush_groups', self::$flush_groups );
  • lib/core/class-groups-cache-robot.php line 366
    /**
     * Add post groups to flush?
     */
    apply_filters( 'groups_cache_robot_flush_post', $apply, current_action(), $args );
  • lib/core/class-groups-cache-robot.php line 459
    /**
     * Add term groups to flush?
     */
    apply_filters( 'groups_cache_robot_flush_term', $apply, current_action(), $args );
  • lib/core/class-groups-cache-robot.php line 399
    /**
     * Add user groups to flush?
     */
    apply_filters( 'groups_cache_robot_flush_user', true, current_action(), $args );
  • lib/core/class-groups-cache-robot.php line 180
    /**
     * Filter post groups.
     */
    apply_filters( 'groups_cache_robot_post_groups', self::$post_groups );
  • lib/core/class-groups-cache-robot.php line 196
    /**
     * Filter term groups.
     */
    apply_filters( 'groups_cache_robot_term_groups', self::$term_groups );
  • lib/core/class-groups-cache-robot.php line 212
    /**
     * Filter user groups.
     */
    apply_filters( 'groups_cache_robot_user_groups', self::$user_groups );
  • lib/core/class-groups-cache.php line 260
    /**
     * Filter when cache entry expires.
     */
    apply_filters( 'groups_cache_set_expires', $expires, $key, $value, $group );
  • lib/core/class-groups-cache.php line 277
    /**
     * Indefinite value.
     */
    apply_filters( 'groups_cache_set_expires_indefinite', PHP_INT_MAX );
  • lib/core/class-groups-cache.php line 336
    /**
     * Filter setting the lock timeout.
     */
    apply_filters( 'groups_cache_set_lock_timeout', self::LOCK_TIMEOUT, $key, $group );
  • lib/core/class-groups-capability.php line 107
    /**
     * Filter the lock timeout.
     */
    apply_filters( 'groups_capability_lock_timeout', self::LOCK_TIMEOUT );
  • lib/access/class-groups-comment-access.php line 331
    /**
     * Filter the comment count where clause.
     */
    apply_filters( 'groups_comment_access_comment_count_where', $where, $post_id );
  • lib/access/class-groups-comment-access.php line 136
    /**
     * Whether to apply the comment feed where clause filter.
     */
    apply_filters( 'groups_comment_access_comment_feed_where_apply', true, $where, $query );
  • lib/access/class-groups-comment-access.php line 74
    /**
     * Whether to filter the comments array.
     */
    apply_filters( 'groups_comment_access_comments_array_apply', true, $comments, $post_id );
  • lib/access/class-groups-comment-access.php line 169
    /**
     * Whether to apply the comment clauses filter.
     */
    apply_filters( 'groups_comment_access_comments_clauses_apply', true, $pieces, $comment_query );
  • lib/access/class-groups-comment-access.php line 103
    /**
     * Whether to filter the comments.
     */
    apply_filters( 'groups_comment_access_the_comments_apply', true, $comments, $comment_query );
  • lib/access/class-groups-comment-access.php line 264
    /**
     * Whether to filter the comment counts.
     */
    apply_filters( 'groups_comment_access_wp_count_comments_apply', true, $count, $post_id );
  • lib/core/class-groups-capability.php line 425
    /**
     * Fires after a capability has been persisted.
     */
    do_action( 'groups_created_capability', $result );
  • lib/core/class-groups-group.php line 658
    /**
     * Fires after a group has been persisted.
     */
    do_action( 'groups_created_group', $result );
  • lib/core/class-groups-group-capability.php line 86
    /**
     * Fires after a group-capability relation has been persisted.
     */
    do_action( 'groups_created_group_capability', $group_id, $capability_id );
  • lib/core/class-groups-user-capability.php line 89
    /**
     * Fires after a user-capability has been persisted.
     */
    do_action( 'groups_created_user_capability', $user_id, $capability_id );
  • lib/core/class-groups-user-group.php line 163
    /**
     * Fires after a user-group has been persisted.
     */
    do_action( 'groups_created_user_group', $user_id, $group_id );
  • lib/core/class-groups-capability.php line 653
    /**
     * Fires after a capability has been deleted.
     */
    do_action( 'groups_deleted_capability', $result );
  • lib/core/class-groups-capability.php line 635
    /**
     * Fires after a capability has been deleted.
     */
    do_action( 'groups_deleted_capability_capability', $capability->capability );
  • lib/core/class-groups-group.php line 1037
    /**
     * Fires after a group has been deleted.
     */
    do_action( 'groups_deleted_group', $result );
  • lib/core/class-groups-group-capability.php line 185
    /**
     * Fires after a group-capability has been deleted.
     */
    do_action( 'groups_deleted_group_capability', $group_id, $capability_id );
  • lib/core/class-groups-options.php line 220
    /**
     * Fires after an option has been deleted.
     */
    do_action( 'groups_deleted_option', $option );
  • lib/core/class-groups-user-capability.php line 189
    /**
     * Fires after a user capability has been deleted.
     */
    do_action( 'groups_deleted_user_capability', $user_id, $capability_id );
  • lib/core/class-groups-user-group.php line 263
    /**
     * Fires after a user-group has been deleted.
     */
    do_action( 'groups_deleted_user_group', $user_id, $group_id );
  • lib/core/class-groups-options.php line 252
    /**
     * Fires after a user option has been deleted.
     */
    do_action( 'groups_deleted_user_option', $user_id, $option );
  • lib/core/class-groups-options.php line 267
    /**
     * Fires after options have been deleted.
     */
    do_action( 'groups_flushed_options' );
  • lib/core/wp-init.php line 174
    /**
     * Filters the prefix of the database table to query.
     */
    apply_filters( 'groups_get_table_prefix', $wpdb->prefix );
  • lib/core/class-groups-group.php line 534
    /**
     * Filter whether the group has the capability.
     */
    apply_filters_ref_array( 'groups_group_can', array( $result, &$this, $capability, $object, $args ) );
  • lib/core/class-groups-group.php line 114
    /**
     * Filter the lock timeout.
     */
    apply_filters( 'groups_group_lock_timeout', self::LOCK_TIMEOUT );
  • lib/core/class-groups-group.php line 780
    /**
     * Maximum number of map entries.
     */
    apply_filters( 'groups_group_read_by_name_max_map', self::MAX_MAP );
  • lib/core/class-groups-group.php line 687
    /**
     * Maximum number of map entries read.
     */
    apply_filters( 'groups_group_read_max_map', self::MAX_MAP );
  • lib/views/class-groups-shortcodes.php line 694
    /**
     * Maximum time delta for submit validation.
     */
    apply_filters( 'groups_join_submit_max_time_delta', self::MAX_TIME_DELTA );
  • lib/views/class-groups-shortcodes.php line 713
    /**
     * Whether to redirect after submit and successful addition to group.
     */
    apply_filters( 'groups_join_submit_redirect', $redirect, $atts, $options );
  • lib/views/class-groups-shortcodes.php line 922
    /**
     * Maximum time delta for submit.
     */
    apply_filters( 'groups_leave_submit_max_time_delta', self::MAX_TIME_DELTA );
  • lib/views/class-groups-shortcodes.php line 936
    /**
     * Whether to redirect after acceptedsubmit and successful removal from group.
     */
    apply_filters( 'groups_leave_submit_redirect', $redirect, $atts, $options );
  • lib/core/class-groups-lock.php line 114
    /**
     * Modify the lock file path.
     */
    apply_filters( 'groups_lock_path', $path, $name, $blog_id );
  • lib/core/class-groups-lock.php line 145
    /**
     * Modify the lock sleep gap (microseconds).
     */
    apply_filters( 'groups_lock_sleep', $this->sleep, $name, $blog_id );
  • lib/core/class-groups-lock.php line 129
    /**
     * Modify the lock timeout (microseconds).
     */
    apply_filters( 'groups_lock_timeout', $this->timeout, $name, $blog_id );
  • lib/admin/class-groups-admin.php line 317
    /**
     * Fires after Groups core network admin pages have been added.
     */
    do_action( 'groups_network_admin_menu', $pages );
  • lib/access/class-groups-post-access.php line 1232
    /**
     * Whether to filter the inner blocks.
     */
    apply_filters( 'groups_post_access_filter_block_core_navigation_render_inner_blocks', true, $inner_blocks );
  • lib/access/class-groups-post-access.php line 1346
    /**
     * Whether to filter get_terms.
     */
    apply_filters( 'groups_post_access_filter_get_terms', true, $terms, $taxonomies, $query_vars, $term_query );
  • lib/access/class-groups-post-access.php line 1186
    /**
     * Whether to process this block pre rendering.
     */
    apply_filters( 'groups_post_access_filter_pre_render_block', true, $pre_render, $parsed_block, $parent_block );
  • lib/access/class-groups-post-access.php line 1137
    /**
     * Whether to process this block.
     */
    apply_filters( 'groups_post_access_filter_render_block', true, $block_content, $parsed_block, $block );
  • lib/access/class-groups-post-access.php line 1280
    /**
     * Whether to filter get_terms.
     */
    apply_filters( 'groups_post_access_filter_widget_categories_args', true, $cat_args, $instance );
  • lib/access/class-groups-post-access.php line 1309
    /**
     * Whether to filter get_terms.
     */
    apply_filters( 'groups_post_access_filter_widget_categories_dropdown_args', true, $cat_args, $instance );
  • lib/access/class-groups-post-access.php line 448
    /**
     * Whether to apply the get_pages filter.
     */
    apply_filters( 'groups_post_access_get_pages_apply', true, $pages );
  • lib/access/class-groups-post-access.php line 548
    /**
     * Whether to filter the excerpt.
     */
    apply_filters( 'groups_post_access_get_the_excerpt_apply', true, $output );
  • lib/access/class-groups-post-access.php line 430
    /**
     * Allow to modify the where clause.
     */
    apply_filters( 'groups_post_access_posts_where', $where, $query );
  • lib/access/class-groups-post-access.php line 283
    /**
     * Whether to apply the posts_where filter.
     */
    apply_filters( 'groups_post_access_posts_where_apply', true, $where, $query );
  • lib/access/class-groups-post-access.php line 302
    /**
     * Whether to filter for all post types.
     */
    apply_filters( 'groups_post_access_posts_where_filter_all', false );
  • lib/access/class-groups-post-access.php line 311
    /**
     * The post types considered for evaluation.
     */
    apply_filters( 'groups_post_access_posts_where_query_get_post_types', $query->get( 'post_type', null ), $where, $query );
  • lib/access/class-groups-post-access.php line 579
    /**
     * Whether to apply the the_content filter.
     */
    apply_filters( 'groups_post_access_the_content_apply', true, $output );
  • lib/access/class-groups-post-access.php line 478
    /**
     * Whether to apply the the_posts filter.
     */
    apply_filters( 'groups_post_access_the_posts_apply', true, $posts, $query );
  • lib/access/class-groups-post-access.php line 1034
    /**
     * Fires after the post count query.
     */
    do_action( 'groups_post_access_wp_count_posts_after_query', $query_args, $counts, $type, $perm );
  • lib/access/class-groups-post-access.php line 1024
    /**
     * Fires before the post count query.
     */
    do_action( 'groups_post_access_wp_count_posts_before_query', $query_args, $counts, $type, $perm );
  • lib/access/class-groups-post-access.php line 514
    /**
     * Whether to filter menu items.
     */
    apply_filters( 'groups_post_access_wp_get_nav_menu_items_apply', true, $items, $menu, $args );
  • lib/views/class-groups-shortcodes.php line 1481
    /**
     * Whether processing shortcode tag.
     */
    apply_filters( 'groups_shortcodes_is_processing', $result, $tag, $atts );
  • lib/views/class-groups-shortcodes.php line 1099
    /**
     * Filter the blocks to preprocess.
     */
    apply_filters( 'groups_shortcodes_preprocess_blocks', array( 'core/latest-posts' ) );
  • lib/views/class-groups-shortcodes.php line 1328
    /**
     * Allow to filter final validation result.
     */
    apply_filters( 'groups_shortcodes_validate', $valid, $tag, $atts, $content );
  • lib/views/class-groups-shortcodes.php line 1272
    /**
     * Allow to filter the contents considered for shortcode validation.
     */
    apply_filters( 'groups_shortcodes_validate_contents', $contents, $tag, $atts, $content );
  • lib/views/class-groups-shortcodes.php line 1412
    /**
     * Allow widgets to provide content that should be checked during shortcode
     * validation.
     */
    apply_filters( 'groups_shortcodes_widget_display_callback_widget_content', null, $instance, $widget, $args );
  • lib/views/class-groups-uie.php line 158
    /**
     * Allows to determine the maximum number of options displayed in the dropdown.
     */
    apply_filters( 'groups_uie_render_select_display_limit', null );
  • lib/views/class-groups-uie.php line 82
    /**
     * Allow to filter the select to use.
     */
    apply_filters( 'groups_uie_which_select', self::$select );
  • lib/core/class-groups-capability.php line 598
    /**
     * Fires after a capability has been updated.
     */
    do_action( 'groups_updated_capability', $result );
  • lib/core/class-groups-group.php line 972
    /**
     * Fires after a group has been updated.
     */
    do_action( 'groups_updated_group', $result );
  • lib/core/class-groups-group-capability.php line 145
    /**
     * Fires after a group-capability has been deleted.
     */
    do_action( 'groups_updated_group_capability', $group_id, $capability_id );
  • lib/core/class-groups-options.php line 167
    /**
     * Fires after a option has been updated.
     */
    do_action( 'groups_updated_option', $option, $new_value );
  • lib/core/class-groups-user-capability.php line 149
    /**
     * Fires after a user-capability has been updated.
     */
    do_action( 'groups_updated_user_capability', $user_id, $capability_id );
  • lib/core/class-groups-user-group.php line 223
    /**
     * Fires after a user-group has been updated.
     */
    do_action( 'groups_updated_user_group', $user_id, $group_id );
  • lib/core/class-groups-options.php line 199
    /**
     * Fires after a user option has been updated.
     */
    do_action( 'groups_updated_user_option', $option, $new_value, $user_id );
  • lib/core/class-groups-user.php line 699
    /**
     * This filter allows to reduce the capabilities that are taken into account
     * when evaluation the user capability set during cache initialization.
     */
    apply_filters( 'groups_user_add_role_capabilities', true );
  • lib/core/class-groups-user.php line 600
    /**
     * Filter whether the user has the capability.
     */
    apply_filters_ref_array( 'groups_user_can', array( $result, &$this, $capability, $object, $args ) );
  • lib/wp/class-groups-wordpress.php line 267
    /**
     * Allows to filter the capabilities mapping for the user.
     */
    apply_filters( 'groups_user_has_cap', $allcaps, $caps, $args, $user );
  • lib/core/class-groups-user.php line 634
    /**
     * Allow to modify the result of whether the user belongs to a given group.
     */
    apply_filters( 'groups_user_is_member', $result, $this, $group_id );
  • lib/admin/class-groups-admin-welcome.php line 129
    /**
     * Whether to show the welcome.
     */
    apply_filters( 'groups_welcome_show', true );
  • plugin_locale

    filter
    lib/core/class-groups-controller.php line 213
    /**
     * Filter the plugin locale.
     */
    apply_filters( 'plugin_locale', $locale, 'groups' );

Generated from Groups's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: