How can I show only terms by id or slug on edit-tags.php (custom taxonomy manage page) for a custom taxonomy.
I am saving term_owner metadata to a table for each term and getting all terms’ ids for a specific term_owner. Now I want to show only these terms on edit-tags.php
.
I have tried list_terms_exclusions
filter but seems it doses not work for edit-tags.php?taxonomy={custom_taxonomy_name}
or I am missing something.
Can anyone help me with a working example?
Thanks you.
The
edit-tags.php
doesn’t listen to any arguments except thes
search query variable. If you want to do anything more advanced, you will have to hook into theget_terms
filter.I have added these code to my theme function.php for my custom taxonomy “series”.
but nothing happened. This code is based on @MikeSchinkel. I think @Jan Fabry is right that the edit-tags.php doesn’t listen to any arguments. But I dont no how to do that.
Any help will be greatly appreciated. Thanks.