WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm customizing a WooCommerce theme and am going to be moving the title. There is an action in content-single-product.php called:

do_action( 'woocommerce_single_product_summary' );

in the woocommerce_hooks.php file the title action is:

add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );

I can easily comment this out and place the title function where I need to. I'd prefer to disable the title using a function in my themes functions.php file so I don't have to worry about modifying core files. What would the function be to disable this title action?

share|improve this question
up vote 3 down vote accepted

That would be:

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );

You can read about it here: remove_action Codex

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.