acp/filtering/terms_args

Use this filter acp/filtering/terms_args to change the taxonomy query for the filter dropdown.

Usage

/**
 * Filtering: Change the term arguments used by the taxonomy query for the filter dropdown
 *
 * @param array $term_args get_terms() arguments
 * @return array get_terms() arguments
 */
function my_filtering_term_args( $term_args ) {

	// Possibly modify $term_args

	return $term_args;
}
add_filter(  'acp/filtering/terms_args', 'my_filtering_term_args' );

Legacy

The old filter cac/addon/filtering/taxonomy/terms_args is replaced by acp/filtering/terms_args since Admin Columns Pro 4.0.