Skip to content

Autocomplete page item cleanup - Woo Edition #460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tw2113 opened this issue Apr 8, 2025 · 0 comments
Open

Autocomplete page item cleanup - Woo Edition #460

tw2113 opened this issue Apr 8, 2025 · 0 comments

Comments

@tw2113
Copy link
Member

tw2113 commented Apr 8, 2025

Branching this off from #435

Trying to do what we can to clean up some of the available content types that get listed on the Autocomplete settings page, for stuff that shouldn't need to be listed. This is largely "internal content".

  1. Remove shop_order and shop_order_refund from the list.
  2. product_visibility and product_shipping_class from term listing.

I doubt people want to be able to index orders and refunds on the frontend.

Item 2 can be modified in get_excluded_taxonomies(). These may be best off via using the available filter and only added if WooCommerce is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant