F
F
FSAQW2021-04-14 17:00:14
Search Engine Optimization
FSAQW, 2021-04-14 17:00:14

How to remove WooCommerce category description?

Good afternoon.
Site on WP + Woocommerce, category descriptions were filled.
Now the site has been moved to a subdomain. It is necessary to remove category descriptions from the code completely, how to do it? Maybe there is some kind of hook?
They hid it in css, but in the page code everything remains exactly the text. We are talking about term-description.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zolin, 2021-04-15
@artzolin

Most likely you need these hooks

remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question