The issue with a taxonomy screen on the admin side is that it isn’t a taxonomy archive. An archive is a collection of posts, a taxonomy admin screen is a collection of terms. The terms on those screens are loaded via get_terms, and the filter to modify those arguments is get_terms_args. Something like this should be able to catch those queries, where you can set the include argument:
function wpa_filter_term_args( $args, $taxonomies ) {
global $pagenow;
if( is_admin()
&& 'edit-tags.php' == $pagenow
&& 'q_client' == $taxonomies[0] ){
// assuming $q_client_terms is an array
$args['include'] = $q_client_terms;
}
return $args;
}
add_filter( 'get_terms_args', 'wpa_filter_term_args', 10, 2 );
Related Posts:
- Using wp_query is it possible to orderby taxonomy?
- How to add images to taxonomies?
- Can you add the visual editor to the description field for custom taxonomies?
- custom post type taxonomy “tag” archive : no post found
- Get taxonomy names by post id
- display posts with same taxonomy term
- Modify Term Update Redirection
- Check if current term is a child of another term
- Custom hierarchal taxonomy loses interface hierarchy when selecting parent & children
- get_terms() doesn’t return empty terms even though hide_empty is false
- Formating the_terms() function output
- Archive template for taxonomy terms
- Custom taxonomy on users with UI
- Sort posts by number of matched terms
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- Taxonomy Relationships
- How to get the top most term (top ancestor) of a custom taxonomy child term?
- Combine multiple custom user taxonomy in single url
- Add custom taxonomy to default category taxonomy?
- Advanced Tax Query
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- Get terms ordered by post date
- User role permissions based on taxonomies
- How to display custom taxonomy in multiple columns?
- get_the_terms() to show all custom taxonomies
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- Sorting taxonomy columns by meta value numeric
- Programatically added attribute, set to ‘show on product page’ automatically. Woocommerce [closed]
- Get Taxonmy Term ID For Current Post
- Is it possible to create exclusive custom taxonomy?
- ACF vs Taxonomies
- Reverse traversing taxonomy based on term_id
- Get Current Custom Taxonomy ID by Post ID
- Changing stylesheet depending on custom taxonomy terms
- Taxonomy with_front causes all
- Taxonomy archive showing no results
- I used the Tax-meta-class by bainternet but i still can’t get it to display any of the results.
- Autogenerate Front End Form Field With jQuery
- Changing taxonomy term by slug (wp_update_term)
- Taxonomy template shows only 10 posts
- Rewrite Rule Working for all but one of the taxonomies created
- Taxonomies on custom taxonomies
- How to join result of different taxonomies?
- Extend & Search Native WordPress Image Galleries With Tags and Taxonomies?
- How to add Post Format Taxonomy Archive page in the menu?
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- How to get all taxonomies which can be added in menu?
- WordPress Tag or Custom Taxonomy Return All Posts if has that Word in Post Title
- woocommerce custom product category template
- Custom Taxonomy index/archive hierarchy
- Replace taxonomy permalinks
- Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies
- Multi-select field for Taxonomy can’t save the value
- Create custom taxonomy and Display in metabox dropdown
- Custom Taxonomy with tax_query
- Override Taxonomy Template
- Get posts in certain Taxonomy terms for the current page url
- Trying to add taxonomy to get_categories() but it’s not working. How to fix this?
- Edit custom taxonomy description programatically
- Get taxonomy name for the current post
- View the complete list of a taxonomy in the navigation menu
- Get name of taxonomies of current page
- Filter through custom taxonomy with an array of taxonomy IDs
- Dropdown taxonomy lists in admin menu
- Add custom taxonomy as a css class
- Taxonomy page shows category in title
- Query custom taxonomy for category including children
- Taxonomy Overview Page?
- Order taxonomy terms wordpress
- Only display latest custom taxonomy post
- Unable to get the Parent Custom Taxonomy Terms
- How to define %category% for custom taxonomies?
- Unsetting post_tag taxonomy breaks term description for other taxonomies
- Taxonomies on Pages with Custom Formatting
- How to combine taxonomies into URL?
- Why do my quick edits for custom taxonomies not show on the post frontend?
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Tracking the name of a custom taxonomy
- Add terms to a taxonomy archive from within the same taxonomy
- Show recent posts from a custom taxonomy in wordpress
- Fill New Taxonomies
- How do I get the correct URL?
- Cloning product not copying custom taxonomies
- how do you pull data from two taxonomies?
- problem : Custom taxonomy template not showing
- Filter “get_terms” query
- How To Create Dynamic Permalink To Custom Taxonomy List of Current Posts?
- generate random slug when adding taxonomy
- Sort Taxonomy List by Custom Values
- Display taxonomy term slugs
- How to display custom taxonomy
- How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?
- Taxonomy term breadcrumb; how?
- Using wp_query is it possible to orderby taxonomy?
- Get custom taxonomy term url on archive page
- Custom Taxonomy Template Variables Available?
- Group custom taxonomies based on tags contained in their posts
- Make custom post type display with custom taxonomy in url
- How do I create a term for every value of a post meta?
- How to get parent and child name in taxonomy page