woocommerce_show_page_title
Hook: woocommerce_show_page_title.
Allow developers to remove the product taxonomy archive page title.
Usage
add_filter( 'woocommerce_show_page_title', 'wp_kama_woocommerce_show_page_title_filter' ); /** * Function for `woocommerce_show_page_title` filter-hook. * * @param $true * * @return */ function wp_kama_woocommerce_show_page_title_filter( $true ){ // filter... return $true; }
- $true
- -
Changelog
Since 2.0.6. | Introduced. |
Where the hook is called
In file: /templates/loop/header.php
woocommerce_show_page_title
woocommerce/templates/loop/header.php 32
if ( apply_filters( 'woocommerce_show_page_title', true ) ) :
woocommerce/src/Blocks/BlockTypes/ClassicTemplate.php 264
if ( apply_filters( 'woocommerce_show_page_title', true ) ) {
woocommerce/includes/wc-template-functions.php 991
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>