Skip to content
John James Jacoby edited this page Sep 10, 2026 · 1 revision

Hooks and Filters

wp_user_taxonomy

Runs after a WP_User_Taxonomy instance has registered its hooks and taxonomy. The taxonomy object is supplied as the only argument.

add_action( 'wp_user_taxonomy', function( WP_User_Taxonomy $user_taxonomy ) {
    // Inspect or integrate with the registered user taxonomy.
} );

wp_user_groups_taxonomy_objects

Filters the object types passed to register_taxonomy(). Arguments are the object-type array, taxonomy name, and parsed options. The default is array( 'user' ). Adding other object types risks ID collisions.

wp_user_groups_row_actions

Filters term row actions in the profile relationship list table. Arguments are the action array, taxonomy data, term object, and WP_User_Taxonomy instance.

wp_user_groups_add_profile_section

Filters the WP User Profiles section array after WP User Groups adds its Relationships section. It receives the updated and original section arrays.

manage_edit-{$taxonomy}_columns

The standard dynamic taxonomy-column filter also applies to profile assignment tables. Custom columns use WordPress's corresponding custom-column hooks.

Compatibility note

Public functions, class names, constructor arguments, hooks, and filter arguments are compatibility surfaces. Prefer documented helpers and hooks over subclassing internal list-table behavior.

Clone this wiki locally