When registering the taxonomy just set public
to false
, and it’ won’t be accessible on the front end. Just make sure to specify show_ui
to true
, otherwise it will use the public value and be hidden.
register_taxonomy(
'my_taxonomy',
'product',
[
'public' => false,
'show_ui' => true,
]
);
If you’re registering the taxonomy with a GUI from a plugin it should have checkboxes for these options.
Related Posts:
- How to get WooCommerce Product Category Link by ID?
- restrict_manage_posts not working in 3.3.1
- Custom order of terms for custom taxonomy in admin and website
- Custom taxonomy only shows 0 in autocomplete for terms and “Choose from the most used tags”
- Custom taxonomy position in admin panel
- Custom Taxonomy Only Showing Top Level Terms in Admin?
- How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
- Approach for saving a product attribute values with a custom UI in a woocommerce+dokan set up [closed]
- How to link categories to custom taxonomy terms?
- Set download limit and expiry for WooCommerce downloadable products in specific categories
- Remove pagination from WooCommerce product categories on admin edit navigation menus
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- Woocommerce custom taxonomies page
- Outputting an array of term meta values in a custom WooCommerce tab?
- How can I allow a custom taxonomy for certain roles?
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- Programatically added attribute, set to ‘show on product page’ automatically. Woocommerce [closed]
- How can I add buttons to a custom column in the taxonomy table?
- Get child product categories from parent product category in WooCommerce
- Top level parent taxonomy ID
- Woocommerce product search result layout page
- Filter WooCommerce admin products list by a custom taxonomy
- Woocommerce: How to change the add to cart text in a certain category? [closed]
- Catchable fatal error on custom category post
- Get custom category image from menu
- Hide posts having children terms when display posts by category in edit.php
- Modify “View” in admin panel for custom taxonomy
- Taxonomies image
- Hide product categories and taxonomy terms in menu if empty
- Display related products based on 2 specific product attributes values in WooCommerce
- How to target parent product category and its children using WooCommerce?
- woocommerce custom product category template
- Getting WooCommerce product related child categories
- Hiding taxonomies with no children WP_Query & tax_query
- Clicking Add New button for custom taxonomy only moves element
- Headers already sent warning in Admin source is media.php 3140
- How to display ACF taxonomy checkbox links on WooCommerce product category archive
- Hide custom Woocommerce taxonomies when empty
- Add attribute taxonomy through code don’t appear in admin product page
- Custom taxonomies not showing up in admin menu
- How do I hide certain taxonomy boxes from users in admin add post page?
- Dropdown taxonomy lists in admin menu
- How do I hide a term from non-admin users in get_the_term_list?
- Showing custom taxonomy in woocommerce signle product page
- Adding term to a custom taxonomy based on term from product category
- Warning: Undefined variable $post in C:\xampp\htdocs\… after PHP upgrade
- Fill New Taxonomies
- Infinite Scroll appending Next Product Category Term pages
- How to exclude woocommerece product category in search results?
- Cloning product not copying custom taxonomies
- Check if any available product has specific attribute
- how to show product custom taxonomies in woocommerce rest api
- How to truncate the description in the admin panel for a custom taxonomy
- WordPress search form and search result through ACF field in custom taxonomy
- Get user created Woocommerce attributes ( taxonomies ) [closed]
- Custom order of taxonomy using wp_get_object_terms and woocommerce_term_meta
- How do you search for a post by custom taxonomy?
- Custom taxonomy auto suggest not working in wordpress admin
- Displaying the custom taxonomies side by side on the admin dashboard
- Display woocommerce product_cat child terms with thumbnails
- Woocommerce – how to get and display selected variations on single product page
- How do I check if a post has a term with a particular ancestor/parent?
- Creating a custom archive page for WooCommerce products based on tags
- Hide empty categories on widget
- How to use taxonomies on attachments with the new Media Library?
- Hierarchical taxonomy UI
- Filtering custom taxonomies
- Allowing specific users to only add posts using certain custom taxomy terms
- Edit tags page for hierarchical taxonomy doesn’t show taxonomies at all depths
- Hook to process a new taxonomy tag before it is created?
- Removing taxonomy base using WP rewrite
- Multiple users – only allow them to manage their own terms for custom taxonomy when logged in
- WP_insert_term how to insert multiple values as taxonomny term?
- How do I display a tag cloud with both post tags AND a custom taxonomy?
- Custom taxonomy term as class?
- Improving WP_Query performance for multiple taxonomies
- How to customize admin posts based on the user who is logged in
- Operations with custom fields values in a loop
- How to get custom post type taxonomy
- remove sanitize_title() for register_taxonomy()
- has_term if/echo else/echo function
- How do I return all terms from multiple taxonomies?
- Restrict editing of posts with specific taxonomy to users with a matching meta value?
- Corrupted nav-menu?
- Custom rewrite permalink doesn’t work
- Can you hide empty terms using get_term_children?
- Register `product_cat` taxonomy for default post post type
- List terms of custom taxonomy if matches other taxonomy
- Order custom taxonomy by date
- Permalink issues with custom taxonomies
- Insert taxonomy slug into loop class
- Where to find relation of custom post type category with it thubmnail image in wordpress database
- How to display taxonomy terms in a dropdown on a user edit page
- How to create filter’s for custom taxonomy page
- Query by multiple custom taxonomies
- get the custom taxonomy name?
- Templates files for custom post type with custom tags
- Pagination with custom query (not using posts)
- How to randomise a custom taxonomy tag cloud
- query posts returns 10 records