Answer the question
In order to leave comments, you need to log in
Why doesn't remove_action() work?
Hello! I need to make changes to a product card in a woocommerce plugin. For this I use the remove_action() function. I make changes to the functions.php file of the child theme, but they do not work.
function change_summary() {
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
}
add_action( 'init', 'change_summary' );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question