apply_filters( 'cp_user_taxonomies', array $taxonomies, WP_User $profile_user )

Filters user level taxonomy data used to create a table list.


Description

Taxonomy data can be amended in this filter, specific taxonomies can be removed.
The taxonomy data can be returned as empty to suppress table creation.
Using the user level data allows table creation to be tailored at user or user permission level.


Parameters

$taxonomies

The array of user taxonomy objects.

$profile_user

The current WP_User object.


Source

File: wp-admin/user-edit.php

View on GitHub


Changelog

Changelog
Version Description
CP-2.5.0 Introduced. CP-2.5.0