Action: dt_prepared_taxonomy_terms

do_action( 'dt_prepared_taxonomy_terms', $taxonomy_terms, $post_id, $args )

Filters the taxonomy terms for consumption.

Modify taxonomies and terms prior to distribution. The array should be keyed by taxonomy. The returned data by filters should only return taxonomies permitted for distribution. See the dt_syncable_taxonomies hook.

Parameters:
Name Type Description
$taxonomy_terms array

Associative array of terms keyed by taxonomy.

$post_id int

Post ID.

$args array

Modified array of terms keyed by taxonomy.

Since:
  • 2.0.0
Source: