Support
Quality
Security
License
Reuse
kandi has reviewed blighty and discovered the below as its top functions. This is intended to give you an instant insight into blighty implemented functionality, and help decide if they suit your requirements.
Get all kandi verified functions for this library.
Get all kandi verified functions for this library.
Desktop Widget Manager. Think of conky, but with Python instead of Lua.
See all related Code Snippets
QUESTION
Hide subcategories from woocommerce category BLOCK widget on WP 5.8
Asked 2022-Apr-02 at 09:04With the update to WP 5.8 and WC 5.6 the "woocommerce_product_categories_widget_args" filter no longer works, which hook should I use to be able to customize the new product categories block widget?
The solution mentioned in this post Hide subcategories from woocommerce category widget it worked before upgrading to WP 5.8, and it still works if I install the Classic Widget plugin, but I want to use the new block widgets available from WP 5.8 version without using Classic Widget plugin:
how should i do?
ANSWER
Answered 2022-Apr-02 at 09:04You have to use the Classic Widget plugin, or you need to write your own code. The current widget block, that displays the categories, does not have any filter hook points included, that allow you to modify it.
Your last resort option may be to extend the class ProductCategories in the Blocks src folder, which is now responsible for rendering the list.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
No vulnerabilities reported
Save this library and start creating your kit
See Similar Libraries in
Save this library and start creating your kit
Open Weaver – Develop Applications Faster with Open Source