apply_filters( ‘terms_to_edit’, string $terms_to_edit, string $taxonomy )

Filters the comma-separated list of terms available to edit.


See also


A comma-separated list of term names.
The taxonomy name for which to retrieve terms.

More Information

  • This filter is used to modify the CSV of terms that is used to show active terms in the taxonomy sidebars on the edit post screen.
  • This is primarily of use if you need to visually modify the appearance of an active term (such as prefixing an asterisk) without changing its behavior. Note that the returned CSV is filtered using JavaScript and is rendered in plain text, so wrapping terms in HTML will not work (any HTML will be rendered as text).


$terms_to_edit = apply_filters( 'terms_to_edit', $terms_to_edit, $taxonomy );



User Contributed Notes

You must log in before being able to contribute a note or feedback.