Filter: dt_create_missing_terms

apply_filters( 'dt_create_missing_terms', true, $taxonomy, $term_array, $term ) → {bool}

Filter whether missing terms should be created.

Parameters:
Name Type Description
true bool

Whether missing terms should be created. Default true.

$taxonomy string

The taxonomy name.

$term_array array

Term data.

$term WP_Term | array | false

WP_Term object or array if found, false if not.

Since:
  • 1.0.0
Source:
Returns:

Whether missing terms should be created.

Type
bool