woocommerce_show_page_title filter-hookWC 6.3.0

Hook: woocommerce_show_page_title

Allows controlling the display of the 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 6.3.0 Introduced.

Where the hook is called

ClassicTemplate::render_archive_product()
woocommerce_show_page_title
woocommerce_content()
woocommerce_show_page_title
woocommerce/src/Blocks/BlockTypes/ClassicTemplate.php 262
if ( apply_filters( 'woocommerce_show_page_title', true ) ) {
woocommerce/includes/wc-template-functions.php 989
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
woocommerce/templates/archive-product.php 33
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>

Where the hook is used in WooCommerce

Usage not found.