WordPress filter hook

woocommerce_show_page_title

Defined by WooCommerce and fired by 25 plugins in total, running on 7.1M+ sites between them.

“Hook: woocommerce_show_page_title”

How to use woocommerce_show_page_title

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'woocommerce_show_page_title', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

25 plugins that fire woocommerce_show_page_title

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs apply_filters( 'woocommerce_show_page_title', true ) src/Blocks/BlockTypes/ClassicTemplate.php:321
  2. User Profile Builder icon User Profile Builder40,000+ installs apply_filters( 'woocommerce_show_page_title', true ) features/content-restriction/templates/archive-product.php:22
  3. Paid Membership Subscriptions icon Paid Membership Subscriptions10,000+ installs apply_filters( 'woocommerce_show_page_title', true ) extend/woocommerce/templates/archive-product.php:22
  4. Genesis Connect for WooCommerce icon Genesis Connect for WooCommerce10,000+ installs apply_filters( 'woocommerce_show_page_title', true ) lib/template-loader.php:250
  5. Passster icon Passster10,000+ installs apply_filters( 'woocommerce_show_page_title', true ) inc/templates/woo-category-protected.php:23
  6. ThemeHunk Customizer icon ThemeHunk Customizer6,000+ installs apply_filters( 'woocommerce_show_page_title', true ) shopline/woo/hooks.php:117
  7. Product Layouts for WooCommerce icon Product Layouts for WooCommerce1,000+ installs apply_filters( 'woocommerce_show_page_title', true ) Includes/Woocommerce/custom-product-category.php:24
  8. Smart Search & Product Filter for WooCommerce icon Smart Search & Product Filter for WooCommerce900+ installs apply_filters( 'woocommerce_show_page_title', true ) templates/smart-navigation.php:41
  9. StoreBuild icon StoreBuild400+ installs apply_filters( 'woocommerce_show_page_title', true ) templates/theme-replacement.php:38
  10. Search, Filters & Merchandising for WooCommerce icon Search, Filters & Merchandising for WooCommerce200+ installs apply_filters( 'woocommerce_show_page_title', true ) public/wcis_product_cat.php:56
  11. Visual Builder icon Visual Builder200+ installs apply_filters( 'woocommerce_show_page_title', true ) inc/woocommerce/loop/header.php:19
  12. CelerSearch icon CelerSearch30+ installs apply_filters( 'woocommerce_show_page_title', true ) templates/views/shop-view.php:26
  13. GS Brands for WooCommerce icon GS Brands for WooCommerce20+ installs apply_filters( 'woocommerce_show_page_title', true ) templates/loop-header.php:63
  14. TABLEiT icon TABLEiT20+ installs apply_filters( 'woocommerce_show_page_title', true ) functions.php:2163
  15. Yay Wholesale B2B for WooCommerce icon Yay Wholesale B2B for WooCommerce10+ installs apply_filters( 'woocommerce_show_page_title', true ) includes/Engine/Compatibles/Barn2WoocommerceProductTable/templates/product-table-shop.php:42
  16. Luma Product Fields icon Luma Product Fields10+ installs apply_filters( 'woocommerce_show_page_title', true ) templates/taxonomy-product-archive.php:70
  17. Product category and page relation icon Product category and page relation10+ installs apply_filters( 'woocommerce_show_page_title', true ) woocommerce/archive-product.php:91
  18. 1Day Booking Engine icon 1Day Booking Engine10+ installs apply_filters( 'woocommerce_show_page_title', true ) inc/templates/hotel-template.php:9
  19. Lock My WooCommerce icon Lock My WooCommerce10+ installs apply_filters( 'woocommerce_show_page_title', true ) template/woocommerce-lock.php:18
  20. Proshots For WooCommerce icon Proshots For WooCommerce10+ installs apply_filters( 'woocommerce_show_page_title', true ) templates/archive-product.php:33
  21. Novatum Payment Gateway for WooCommerce icon Novatum Payment Gateway for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_show_page_title', true ) includes/novatum-failure-page-template.php:22
  22. SpeedSearch icon SpeedSearchFewer than 10 installs apply_filters( 'woocommerce_show_page_title', true ) src/integrations/themes/equipo/templates/blocks/main.php:50
  23. Yay Bulk Order for WooCommerce icon Yay Bulk Order for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_show_page_title', true ) includes/Engines/Compatibles/YayWholesale/templates/product-table-shop.php:32
  24. WEBD Woo Event Bookings icon WEBD Woo Event BookingsFewer than 10 installs apply_filters( 'woocommerce_show_page_title', true ) templates/archive-product.php:62
  25. Single Page Shopping icon Single Page ShoppingFewer than 10 installs apply_filters( 'woocommerce_show_page_title', true ) includes/class-awcs-products-query.php:370

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.