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
- Change filter id into slug
- Set Variant options/attributes values on WooCommerce
- Having issues with edit-tags.php not saving $_POST values for custom post_types including woocommerce product_cat
- add top and bottom content in edit page custom taxonomy woocommerce
- Using wp_query is it possible to orderby taxonomy?
- “tax_query” parameter not working with WP_Query
- How do I exclude a custom taxonomy from the post loop
- get_posts assigned to a specific custom taxonomy term, and not the term’s children
- How can I get only parent terms?
- How to modify a taxonomy that’s already registered
- Retrieve posts by term id custom query
- Change order of Custom Taxonomy List
- Get the the top-level parent of a custom taxonomy term
- get_the_term_list without links in 3.1
- Inserting terms in an Hierarchical Taxonomy
- get_terms – only top level
- Custom taxonomy terms not showing as list Gutenberg Editor
- Altering the appearance of custom taxonomy inputs
- How to only list the child terms of a taxonomy and not their parents?
- Get term SLUG by term ID
- Is ACF being a honey trap? [closed]
- Get term name from term ID?
- Check if Current Category has Children
- How to use taxonomies on attachments with the new Media Library?
- Hierarchical taxonomy UI
- WordPress taxonomy radio buttons
- How to prevent new terms being added to a custom taxonomy?
- Custom taxonomy, get_the_terms, listing in order of parent > child
- How to remove the tag cloud from custom taxonomy admin page?
- custom taxonomy and pages rewrite slug conflict gives 404
- Inserting a term into a custom taxonomy
- Count posts in custom taxonomy
- How to add images to taxonomies?
- Read-only taxonomy (user can assign term but can’t create or edit existing terms)
- Remove taxonomy base or term from url
- Can you add the visual editor to the description field for custom taxonomies?